summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_icmp.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-09-16 10:08:40 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2014-09-16 10:08:40 +0200
commitf92ee61982d6da15a9e49664ecd6405a15a2ee56 (patch)
tree014f5e6b027f1446b5bda041382b30262868bf86 /net/ipv6/ip6_icmp.c
parent95cd6f488d164de462a8279e802a0ad05c33d167 (diff)
downloadlinux-stable-f92ee61982d6da15a9e49664ecd6405a15a2ee56.tar.gz
linux-stable-f92ee61982d6da15a9e49664ecd6405a15a2ee56.tar.bz2
linux-stable-f92ee61982d6da15a9e49664ecd6405a15a2ee56.zip
xfrm: Generate blackhole routes only from route lookup functions
Currently we genarate a blackhole route route whenever we have matching policies but can not resolve the states. Here we assume that dst_output() is called to kill the balckholed 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 blackhole routes only from the route lookup functions, here we can guarantee a call to dst_output() afterwards. Fixes: 2774c131b1d ("xfrm: Handle blackhole route creation via afinfo.") Reported-by: Konstantinos Kolelis <k.kolelis@sirrix.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/ip6_icmp.c')
0 files changed, 0 insertions, 0 deletions