[LLC] set mac.raw if tr_source_route is called

Thanks to Thomas Graf for spotting this.
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 1b0fdcb4
...@@ -51,6 +51,7 @@ int llc_mac_hdr_init(struct sk_buff *skb, unsigned char *sa, unsigned char *da) ...@@ -51,6 +51,7 @@ int llc_mac_hdr_init(struct sk_buff *skb, unsigned char *sa, unsigned char *da)
if (da) { if (da) {
memcpy(trh->daddr, da, dev->addr_len); memcpy(trh->daddr, da, dev->addr_len);
tr_source_route(skb, trh, dev); tr_source_route(skb, trh, dev);
skb->mac.raw = skb->data;
} }
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment