Re: [PATCH RFC net] neigh: do not modify unlinked entries

2015-06-21 Thread David Miller
From: Julian Anastasov j...@ssi.bg Date: Tue, 16 Jun 2015 22:56:39 +0300 The lockless lookups can return entry that is unlinked. Sometimes they get reference before last neigh_cleanup_and_release, sometimes they do not need reference. Later, any modification attempts may result in the

Re: [PATCH RFC net] neigh: do not modify unlinked entries

2015-06-19 Thread Eric Dumazet
On Tue, 2015-06-16 at 22:56 +0300, Julian Anastasov wrote: The lockless lookups can return entry that is unlinked. Sometimes they get reference before last neigh_cleanup_and_release, sometimes they do not need reference. Later, any modification attempts may result in the following problems:

[PATCH RFC net] neigh: do not modify unlinked entries

2015-06-16 Thread Julian Anastasov
The lockless lookups can return entry that is unlinked. Sometimes they get reference before last neigh_cleanup_and_release, sometimes they do not need reference. Later, any modification attempts may result in the following problems: 1. entry is not destroyed immediately because neigh_update can