Skip to contentSkip to conversation

PATCH: [LLC] set mac.raw if tr_source_route is called

PATCH Arnaldo Carvalho de Melo 1 participant 1 message Oct 6, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi David,

Here is the fix for the problem Thomas pointed out, its at
the usual place:

bk://kernel.bkbits.net/acme/sk_buff-2.6

- Arnaldo

===================================================================

[email protected], 2004-10-06 18:51:11-03:00, [email protected]
[LLC] set mac.raw if tr_source_route is called

Thanks to Thomas Graf for spotting this.

 llc_output.c |    1 +
 1 files changed, 1 insertion(+)
net/llc/llc_output.c +1 -0
diff -Nru a/net/llc/llc_output.c b/net/llc/llc_output.c
@@ -51,6 +51,7 @@
 		if (da) {
 			memcpy(trh->daddr, da, dev->addr_len);
 			tr_source_route(skb, trh, dev);
+			skb->mac.raw = skb->data;
 		}
 		break;
 	}