[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170531220757.GI9362@oracle.com>
Date: Wed, 31 May 2017 18:07:57 -0400
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: Julian Anastasov <ja@....bg>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
stephen@...workplumber.org
Subject: Re: [PATCH V3] neigh: Really delete an arp/neigh entry on "ip neigh
delete" or "arp -d"
On (06/01/17 00:41), Julian Anastasov wrote:
>
> So, we do not hold reference to neigh while accessing
> its fields. I suspect we need to move the table lock from
> neigh_remove_one here, for example:
Another thought is to have neigh_remove_one to remove
a neigh only if it is NUD_FAILED - that may potentially remove
more than one entry, but that's probably harmless?
--Sowmini
Powered by blists - more mailing lists