From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: PATCH: [LLC] set mac.raw if tr_source_route is called
Date: Wed, 06 Oct 2004 18:58:32 -0300 [thread overview]
Message-ID: <41646A88.4050609@conectiva.com.br> (raw)
[-- 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;
}
reply other threads:[~2004-10-06 21:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41646A88.4050609@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).