aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/check_signature.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-06 23:08:37 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-06 23:08:37 -0800
commit70e90679ffce0937deb77e2bd8bd918a24a897fd (patch)
tree12950c5e0de1a0c86dd412474066cedef418b1c4 /lib/check_signature.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadwireguard-linux-70e90679ffce0937deb77e2bd8bd918a24a897fd.tar.xz
wireguard-linux-70e90679ffce0937deb77e2bd8bd918a24a897fd.zip
af_key: mark policy as dead before destroying
xfrm_policy_destroy() will oops if not dead policy is passed to it. On error path in pfkey_compile_policy() exactly this happens. Oopsable for CAP_NET_ADMIN owners. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/check_signature.c')
0 files changed, 0 insertions, 0 deletions