[XFRM]: Fix oops in xfrm4_dst_destroy()
Bernhard Walle authored
With 2.6.21-rc1, I get an oops when running 'ifdown eth0' and an IPsec
connection is active. If I shut down the connection before running 'ifdown
eth0', then there's no problem.  The critical operation of this script is to
kill dhcpd.

The problem is probably caused by commit with git identifier
43372262

 (Linus tree) "[IPSEC]: IPv4 over IPv6
IPsec tunnel".

This patch fixes that oops. I don't know the network code of the Linux
kernel in deep, so if that fix is wrong, please change it. But please
fix the oops. :)
Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
Acked-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
aef8811a
Name Last commit Last update
..
802 [PATCH] remove many unneeded #includes of sched.h
8021q [PATCH] mark struct file_operations const 7
appletalk [PATCH] sysctl: remove insert_at_head from register_sysctl
atm [PATCH] remove many unneeded #includes of sched.h
ax25 [PATCH] sysctl: remove insert_at_head from register_sysctl
bluetooth [Bluetooth] Make use of device_move() for RFCOMM TTY devices
bridge [BRIDGE]: eliminate workqueue for carrier check
core Merge branch 'master' into upstream
dccp [PATCH] sysctl: remove insert_at_head from register_sysctl
decnet [PATCH] sysctl: remove the proc_dir_entry member for the sysctl tables
econet [PATCH] remove many unneeded #includes of sched.h
ethernet [PATCH] remove many unneeded #includes of sched.h
ieee80211 Merge branch 'upstream' into upstream-jgarzik
ipv4 [XFRM]: Fix oops in xfrm4_dst_destroy()
ipv6 [IPV6]: Fix __ipv6_addr_type() export in correct place.
ipx [PATCH] sysctl: remove insert_at_head from register_sysctl
irda [IRDA] net/irda/: proper prototypes
iucv [S390]: Add AF_IUCV socket support
key [XFRM]: Fix OOPSes in xfrm_audit_log().
lapb [PATCH] remove many unneeded #includes of sched.h
llc [PATCH] sysctl: remove insert_at_head from register_sysctl
netfilter [PATCH] sysctl: remove insert_at_head from register_sysctl
netlabel [NET] NETLABEL: Fix whitespace errors.
netlink [PATCH] mark struct file_operations const 8
netrom [PATCH] sysctl: remove insert_at_head from register_sysctl
packet
rose
rxrpc
sched
sctp
sunrpc
tipc
unix
wanrouter
x25
xfrm
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c