summaryrefslogtreecommitdiffstats
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-09-16 10:08:49 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2014-09-16 10:08:49 +0200
commitb8c203b2d2fc961bafd53b41d5396bbcdec55998 (patch)
tree4c5872696e7ec6221829b5ed5b26817d6ee66182 /kernel/seccomp.c
parentf92ee61982d6da15a9e49664ecd6405a15a2ee56 (diff)
downloadop-kernel-dev-b8c203b2d2fc961bafd53b41d5396bbcdec55998.zip
op-kernel-dev-b8c203b2d2fc961bafd53b41d5396bbcdec55998.tar.gz
xfrm: Generate queueing routes only from route lookup functions
Currently we genarate a queueing route if we have matching policies but can not resolve the states and the sysctl xfrm_larval_drop is disabled. Here we assume that dst_output() is called to kill the queued packets. Unfortunately this assumption is not true in all cases, so it is possible that these packets leave the system unwanted. We fix this by generating queueing routes only from the route lookup functions, here we can guarantee a call to dst_output() afterwards. Fixes: a0073fe18e71 ("xfrm: Add a state resolution packet queue") Reported-by: Konstantinos Kolelis <k.kolelis@sirrix.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud