]> git.baikalelectronics.ru Git - 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)
commite0a29224c9e2d78fae5d2050743baf551025bd5a
tree924aafe5a1be81eb44b7a4756c58edebce5f9da5
parentba04ebc6ac1fa918baffcddded10a2a5f9c24e11
[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