Re: [PATCH net-next] neighbor: gc_list changes should be protected by table lock

2018-12-10 Thread David Miller
From: David Ahern Date: Mon, 10 Dec 2018 13:54:07 -0800 > From: David Ahern > > Adding and removing neighbor entries to / from the gc_list need to be > done while holding the table lock; a couple of places were missed in the > original patch. > > Move the list_add_tail in neigh_alloc to ___nei

[PATCH net-next] neighbor: gc_list changes should be protected by table lock

2018-12-10 Thread David Ahern
From: David Ahern Adding and removing neighbor entries to / from the gc_list need to be done while holding the table lock; a couple of places were missed in the original patch. Move the list_add_tail in neigh_alloc to ___neigh_create where the lock is already obtained. Since neighbor entries sho