]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Remove flowi6_oif compare from __ip6_route_redirect
authorDavid Ahern <dsahern@gmail.com>
Fri, 12 Apr 2019 17:31:14 +0000 (10:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Apr 2019 00:05:38 +0000 (17:05 -0700)
commite84f9b496c674a07b6a0a696ba7cdd0938600965
treeb74eb1559d2bb62a1548f6aaed0876fcf434e341
parente44a0b95ac3d4907b9c6540064fbedeab52157d5
ipv6: Remove flowi6_oif compare from __ip6_route_redirect

In the review of 8f6510c00256 ("ipv6: Refactor __ip6_route_redirect"),
Martin noted that the flowi6_oif compare is moved to the new helper and
should be removed from __ip6_route_redirect. Fix the oversight.

Fixes: 8f6510c00256 ("ipv6: Refactor __ip6_route_redirect")
Reported-by: Martin Lau <kafai@fb.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c