[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151102.163045.778833465670959622.davem@davemloft.net>
Date: Mon, 02 Nov 2015 16:30:45 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mschiffer@...verse-factory.net
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 net] ipv6: fix crash on ICMPv6 redirects with
prohibited/blackholed source
From: Matthias Schiffer <mschiffer@...verse-factory.net>
Date: Mon, 2 Nov 2015 01:24:38 +0100
> 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@...verse-factory.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists