]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM]: Fix oops in xfrm4_dst_destroy()
authorBernhard Walle <bwalle@suse.de>
Mon, 26 Feb 2007 20:10:32 +0000 (12:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2007 20:10:32 +0000 (12:10 -0800)
commit919200d3a1940cafa1880ce4a9a6ec5194286b11
tree2d29785cf77e69e80fc640d79850aba091b808b6
parent5415c445ccc998aab8b24355194efa3e814eedd1
[XFRM]: Fix oops in xfrm4_dst_destroy()

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
f730dff3231a32631103ab43efad945d8f9279bd (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: Bernhard Walle <bwalle@suse.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_policy.c