kernel-ark/net
Herbert Xu 2babf9daae [SCTP]: Fix up sctp_rcv return value
I was working on the ipip/xfrm problem and as usual I get side-tracked by
other problems.

As part of an attempt to change the IPv4 protocol handler calling
convention I found that SCTP violated the existing convention.

It's returning non-zero values after freeing the skb.  This is doubly bad
as 1) the skb gets resubmitted; 2) the return value is interpreted as a
protocol number.

This patch changes those return values to zero.

IPv6 doesn't suffer from this problem because it uses a positive return
value as an indication for resubmission.  So the only effect of this patch
there is to increment the IPSTATS_MIB_INDELIVERS counter which IMHO is
the right thing to do.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-25 01:25:29 -08:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [BRIDGE]: Unaligned accesses in the ethernet bridge 2006-03-24 15:44:57 -08:00
core [NET]: Take RTNL when unregistering notifier 2006-03-25 01:24:25 -08:00
dccp
decnet
econet
ethernet
ieee80211 [PATCH] Restore channel setting after scan. 2006-03-23 16:18:47 -05:00
ipv4 [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
ipv6 [IPV6]: ip6_xmit: remove unnecessary NULL ptr check 2006-03-23 01:17:25 -08:00
ipx
irda
key
lapb
llc
netfilter
netlink
netrom
packet
rose
rxrpc
sched [NET_SCHED]: cls_u32: remove unnecessary NULL-ptr check 2006-03-23 01:16:48 -08:00
sctp [SCTP]: Fix up sctp_rcv return value 2006-03-25 01:25:29 -08:00
sunrpc [PATCH] cpuset memory spread: slab cache format 2006-03-24 07:33:23 -08:00
tipc [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c [PATCH] cpuset memory spread: slab cache format 2006-03-24 07:33:23 -08:00
sysctl_net.c
TUNABLE