diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-09-10 21:09:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-11 08:12:52 +0200 |
commit | e0d56fdd734224666e7bd5fafbc620286d2a7ee8 (patch) | |
tree | 58f22fb38fb3b2a1e8d7a8933a92f721e6b0682e /net/ipv6/ip6_output.c | |
parent | net: vrf: Flip IPv6 output path from FIB lookup hook to out hook (diff) | |
download | linux-e0d56fdd734224666e7bd5fafbc620286d2a7ee8.tar.xz linux-e0d56fdd734224666e7bd5fafbc620286d2a7ee8.zip |
net: l3mdev: remove redundant calls
A previous patch added l3mdev flow update making these hooks
redundant. Remove them.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 6ea6caace3a8..1cb41b365048 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -1070,8 +1070,6 @@ struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6, return ERR_PTR(err); if (final_dst) fl6->daddr = *final_dst; - if (!fl6->flowi6_oif) - fl6->flowi6_oif = l3mdev_fib_oif(dst->dev); return xfrm_lookup_route(sock_net(sk), dst, flowi6_to_flowi(fl6), sk, 0); } |