* [PATCH][2.6] propogate rx errors from raw_rcv_skb
@ 2003-07-17 2:46 Zwane Mwaikambo
0 siblings, 0 replies; only message in thread
From: Zwane Mwaikambo @ 2003-07-17 2:46 UTC (permalink / raw)
To: Linux Kernel; +Cc: David S. Miller
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-17 2:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 2:46 [PATCH][2.6] propogate rx errors from raw_rcv_skb Zwane Mwaikambo
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).