Martin KaFai Lau b0a1ba5992 ipv6: Fix __ip6_route_redirect
In my last commit (a3c00e4: ipv6: Remove BACKTRACK macro), the changes in
__ip6_route_redirect is incorrect.  The following case is missed:
1. The for loop tries to find a valid gateway rt. If it fails to find
   one, rt will be NULL.
2. When rt is NULL, it is set to the ip6_null_entry.
3. The newly added 'else if', from a3c00e4, will stop the backtrack from
   happening.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-25 22:09:51 -08:00
..
2014-09-30 14:00:48 -04:00
2014-11-26 12:27:04 -05:00
2014-12-09 16:29:03 -05:00
2014-12-09 16:29:03 -05:00
2015-01-25 22:09:51 -08:00
2014-11-05 23:52:33 -08:00
2014-05-23 16:28:53 -04:00