diff options
author | Julian Anastasov <ja@ssi.bg> | 2017-02-25 17:57:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-26 21:35:24 -0500 |
commit | 1ecc9ad02c3d4cf44bc94bffcb3b12e7861b00a7 (patch) | |
tree | 07885bcb036945316b5f8add64dd202ae99c9f48 /net/irda/ircomm | |
parent | c4d2603dac3a555e4bb324daf5cb5cdb5694eedd (diff) |
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>
Diffstat (limited to 'net/irda/ircomm')
0 files changed, 0 insertions, 0 deletions