Re: [PATCH net-next] neigh: introduce __neigh_confirm() for __ipv{4, 6}_confirm_neigh
From: yajun . deng
Date: Wed Nov 17 2021 - 21:24:35 EST
November 18, 2021 1:36 AM, "Eric Dumazet" <eric.dumazet@xxxxxxxxx> wrote:
> On 11/17/21 4:02 AM, Yajun Deng wrote:
>
>> Those __ipv4_confirm_neigh(), __ipv6_confirm_neigh() and __ipv6_confirm_neigh_stub()
>> functions have similar code. introduce __neigh_confirm() for it.
>
> At first glance, this might add an indirect call ?
Yes, But this need keep __ipv4_confirm_neigh() the same parameters as __ipv6_confirm_neigh().