From: "David S. Miller" <davem@redhat.com>
To: netdev@oss.sgi.com, linux-net@vger.kernel.org
Cc: zwane@arm.linux.org.uk
Subject: Fw: [PATCH][2.6] propogate rx errors from raw_rcv_skb
Date: Wed, 16 Jul 2003 19:53:45 -0700 [thread overview]
Message-ID: <20030716195345.21b9b9fc.davem@redhat.com> (raw)
Forwarded...
Zwane, please posting networking patches to the "networking"
lists, thanks.
Begin forwarded message:
Date: Wed, 16 Jul 2003 22:46:59 -0400 (EDT)
From: Zwane Mwaikambo <zwane@arm.linux.org.uk>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: "David S. Miller" <davem@redhat.com>
Subject: [PATCH][2.6] propogate rx errors from raw_rcv_skb
Hi David,
This looks somewhat sane, ipv6 doesn't seem to need it as it
always returns 0
Index: linux-2.6.0-test1-mm1/net/ipv4/raw.c
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test1-mm1/net/ipv4/raw.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 raw.c
--- linux-2.6.0-test1-mm1/net/ipv4/raw.c 16 Jul 2003 06:37:19 -0000 1.1.1.1
+++ linux-2.6.0-test1-mm1/net/ipv4/raw.c 16 Jul 2003 16:11:50 -0000
@@ -252,8 +252,7 @@ int raw_rcv(struct sock *sk, struct sk_b
skb_push(skb, skb->data - skb->nh.raw);
- raw_rcv_skb(sk, skb);
- return 0;
+ return raw_rcv_skb(sk, skb);
}
static int raw_send_hdrinc(struct sock *sk, void *from, int length,
next reply other threads:[~2003-07-17 2:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-17 2:53 David S. Miller [this message]
2003-07-21 12:25 ` Fw: [PATCH][2.6] propogate rx errors from raw_rcv_skb David S. Miller
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=20030716195345.21b9b9fc.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-net@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=zwane@arm.linux.org.uk \
/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).