Messages in this thread | | | Date | Thu, 18 Nov 2021 02:24:30 +0000 | From | yajun.deng@linux ... | Subject | Re: [PATCH net-next] neigh: introduce __neigh_confirm() for __ipv{4, 6}_confirm_neigh |
| |
November 18, 2021 1:36 AM, "Eric Dumazet" <eric.dumazet@gmail.com> 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().
| |