Re: [PATCHv4 net-next 5/7] net: add confirm_neigh method to dst_ops

2017-02-07 Thread Steffen Klassert
On Mon, Feb 06, 2017 at 11:14:15PM +0200, Julian Anastasov wrote: > Add confirm_neigh method to dst_ops and use it from IPv4 and IPv6 > to lookup and confirm the neighbour. Its usage via the new helper > dst_confirm_neigh() should be restricted to MSG_PROBE users for > performance reasons. > >

[PATCHv4 net-next 5/7] net: add confirm_neigh method to dst_ops

2017-02-06 Thread Julian Anastasov
Add confirm_neigh method to dst_ops and use it from IPv4 and IPv6 to lookup and confirm the neighbour. Its usage via the new helper dst_confirm_neigh() should be restricted to MSG_PROBE users for performance reasons. For XFRM prefer the last tunnel address, if present. With help from Steffen