Julian Anastasov 1ecc9ad02c xfrm: provide correct dst in xfrm_neigh_lookup
Fix xfrm_neigh_lookup to provide dst->path to the
neigh_lookup dst_ops method.

When skb is provided, the IP address in packet should already
match the dst->path address family. But for the non-skb case,
we should consider the last tunnel address as nexthop address.

Fixes: f894cbf847c9 ("net: Add optional SKB arg to dst_ops->neigh_lookup().")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-26 21:35:24 -05:00
..
2017-01-22 16:46:13 -05:00
2017-02-23 13:53:42 -05:00
2016-12-03 23:54:25 -05:00
2017-02-21 13:25:22 -05:00
2017-02-26 11:03:38 -05:00
2016-12-25 17:21:22 +01:00
2017-02-10 14:31:51 -05:00
2017-02-20 11:13:37 -05:00
2016-10-20 11:23:08 -04:00
2017-02-24 14:13:14 -05:00
2017-01-24 11:07:35 +01:00
2017-02-10 14:31:51 -05:00