]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[XFRM]: Avoid bogus BUG() when throwing new policy away.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 14 Feb 2008 22:52:38 +0000 (14:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2008 22:52:38 +0000 (14:52 -0800)
commit073a371987f9a9806a85329eed51dca1fc52a7a0
tree924aafe5a1be81eb44b7a4756c58edebce5f9da5
parenta4d6b8af1e92daa872f55d06415b76c35f44d8bd
[XFRM]: Avoid bogus BUG() when throwing new policy away.

From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

When we destory a new policy entry, we need to tell
xfrm_policy_destroy() explicitly that the entry is not
alive yet.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c