]> asedeno.scripts.mit.edu Git - linux.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)
commit1deeb6408c1ca9ee2ebb0ee8e0a7ba7c6fadf397
treeb74eb1559d2bb62a1548f6aaed0876fcf434e341
parent8c5a3ca306a0ade34fb6faafb814422563acf483
ipv6: Remove flowi6_oif compare from __ip6_route_redirect

In the review of 0b34eb004347 ("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: 0b34eb004347 ("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