summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-03-31 00:17:04 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-01 19:41:35 -0700
commitc8bf4d04f970fafb3430d332533e1cf103f2a018 (patch)
tree5d0a7507da01350b64fe182d7906bc0d85166f8b /net/xfrm/xfrm_policy.c
parent34996cb91dd72f0b0456d8fd3fef4aaee62232f2 (diff)
downloadblackbird-op-linux-c8bf4d04f970fafb3430d332533e1cf103f2a018.tar.gz
blackbird-op-linux-c8bf4d04f970fafb3430d332533e1cf103f2a018.zip
xfrm_user: verify policy direction at XFRM_MSG_POLEXPIRE handler
Add missing check for policy direction verification. This is especially important since without this xfrm_user may end up deleting per-socket policy which is not allowed. Signed-off-by: Timo Teras <timo.teras@iki.fi> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud