netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: [LLC] set mac.raw if tr_source_route is called
@ 2004-10-06 21:58 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2004-10-06 21:58 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

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

[-- Attachment #2: tr_hdr-fix.patch --]
[-- Type: text/plain, Size: 737 bytes --]

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


ChangeSet@1.2057, 2004-10-06 18:51:11-03:00, acme@conectiva.com.br
  [LLC] set mac.raw if tr_source_route is called
  
  Thanks to Thomas Graf for spotting this.
  
  Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
  Signed-off-by: David S. Miller <davem@redhat.com>


 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;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-06 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 21:58 PATCH: [LLC] set mac.raw if tr_source_route is called Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).