| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | PATCH: [LLC] set mac.raw if tr_source_route is called |
| From: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> |
| Date: | Wed, 06 Oct 2004 18:58:32 -0300 |
| Cc: | netdev@xxxxxxxxxxx |
| Organization: | Conectiva S.A. |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.8 (X11/20040913) |
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 ===================================================================
ChangeSet@xxxxxx, 2004-10-06 18:51:11-03:00, acme@xxxxxxxxxxxxxxxx
[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@xxxxxxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxx>
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;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Prevent netpoll hanging when link is down, Matt Mackall |
|---|---|
| Next by Date: | Destroying a socket without sending FIN, Francesco Casadei |
| Previous by Thread: | Re: [PATCH] Prevent netpoll hanging when link is down, Matt Mackall |
| Next by Thread: | Destroying a socket without sending FIN, Francesco Casadei |
| Indexes: | [Date] [Thread] [Top] [All Lists] |