kernel_optimize_test/net
Herbert Xu 1ac06e0306 ipsec: Use the correct ip_local_out function
Because the IPsec output function xfrm_output_resume does its
own dst_output call it should always call __ip_local_output
instead of ip_local_output as the latter may invoke dst_output
directly.  Otherwise the return values from nf_hook and dst_output
may clash as they both use the value 1 but for different purposes.

When that clash occurs this can cause a packet to be used after
it has been freed which usually leads to a crash.  Because the
offending value is only returned from dst_output with qdiscs
such as HTB, this bug is normally not visible.

Thanks to Marco Berizzi for his perseverance in tracking this
down.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-20 14:32:14 -07:00
..
9p 9p: fix error path during early mount 2008-05-14 19:23:27 -05:00
802
8021q
appletalk
atm
ax25
bluetooth
bridge
can
core net: handle errors from device_rename 2008-05-14 22:33:38 -07:00
dccp
decnet
econet net: Allow netdevices to specify needed head/tailroom 2008-05-12 20:48:31 -07:00
ethernet
ieee80211
ipv4 ipsec: Use the correct ip_local_out function 2008-05-20 14:32:14 -07:00
ipv6 ipsec: Use the correct ip_local_out function 2008-05-20 14:32:14 -07:00
ipx
irda net/irda/irnet/irnet_irda.c needs unaligned.h 2008-05-14 19:11:15 -07:00
iucv
key
lapb
llc
mac80211 mac80211: Add RTNL version of ieee80211_iterate_active_interfaces 2008-05-16 17:15:09 -04:00
netfilter Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-05-14 10:08:24 -07:00
netlabel
netlink
netrom
packet net: Allow netdevices to specify needed head/tailroom 2008-05-12 20:48:31 -07:00
rfkill
rose
rxrpc
sched
sctp sctp: Fix use of uninitialized pointer 2008-05-13 23:25:00 -07:00
sunrpc
tipc
unix
wanrouter
wireless
x25
xfrm net: Allow netdevices to specify needed head/tailroom 2008-05-12 20:48:31 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE