diff options
author | Martin KaFai Lau <kafai@fb.com> | 2015-01-21 04:16:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-26 07:09:51 +0100 |
commit | b0a1ba59921eaaa9cb8f97bb35f2e6870fcdfedc (patch) | |
tree | 5db7467e7b5ff0163499cb807a8835642190245e /drivers/s390/net | |
parent | net: dsa: set slave MII bus PHY mask (diff) | |
download | linux-b0a1ba59921eaaa9cb8f97bb35f2e6870fcdfedc.tar.xz linux-b0a1ba59921eaaa9cb8f97bb35f2e6870fcdfedc.zip |
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>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions