diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-09-10 12:09:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-10 23:12:52 -0700 |
commit | e0d56fdd734224666e7bd5fafbc620286d2a7ee8 (patch) | |
tree | 58f22fb38fb3b2a1e8d7a8933a92f721e6b0682e /net/ipv6/xfrm6_policy.c | |
parent | 4c1feac58e06270321cc500b85c2d94a11495775 (diff) | |
download | linux-e0d56fdd734224666e7bd5fafbc620286d2a7ee8.tar.gz linux-e0d56fdd734224666e7bd5fafbc620286d2a7ee8.tar.bz2 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/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 6cc97003e4a9..b7b7e863a2bb 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -134,7 +134,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) nexthdr = nh[nhoff]; if (skb_dst(skb)) - oif = l3mdev_fib_oif(skb_dst(skb)->dev); + oif = skb_dst(skb)->dev->ifindex; memset(fl6, 0, sizeof(struct flowi6)); fl6->flowi6_mark = skb->mark; |