aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-11-02 01:24:38 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-02 16:30:15 -0500
commitec13ad1d705c9990d55ed8ab21946cef323d30c7 (patch)
tree5f94fdc89dc73c44e1ef5276cae696c9d7d69e9b /net/ipv6/sit.c
parentppp, slip: Validate VJ compression slot parameters completely (diff)
downloadlinux-dev-ec13ad1d705c9990d55ed8ab21946cef323d30c7.tar.xz
linux-dev-ec13ad1d705c9990d55ed8ab21946cef323d30c7.zip
ipv6: fix crash on ICMPv6 redirects with prohibited/blackholed source
There are other error values besides ip6_null_entry that can be returned by ip6_route_redirect(): fib6_rule_action() can also result in ip6_blk_hole_entry and ip6_prohibit_entry if such ip rules are installed. Only checking for ip6_null_entry in rt6_do_redirect() causes ip6_ins_rt() to be called with rt->rt6i_table == NULL in these cases, making the kernel crash. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions