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

From: Arnaldo Carvalho de Melo <[email-masked]>
Date: Wed, 06 Oct 2004 18:58:32 -0300

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-masked], 2004-10-06 18:51:11-03:00, [email-masked]
  [LLC] set mac.raw if tr_source_route is called
  
  Thanks to Thomas Graf for spotting this.
  
  Signed-off-by: Arnaldo Carvalho de Melo <[email-masked]>
  Signed-off-by: David S. Miller <[email-masked]>

 llc_output.c |    1 +
 1 files changed, 1 insertion(+)

diff -Nru a/net/llc/llc_output.c b/net/llc/llc_output.c
--- a/net/llc/llc_output.c	2004-10-06 18:56:17 -03:00
+++ b/net/llc/llc_output.c	2004-10-06 18:56:17 -03:00
@@ -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;
 	}