net neigh: neigh_delete() and neigh_add() changes
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 4 Oct 2010 04:27:36 +0000 (04:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 21:54:35 +0000 (14:54 -0700)
commit110b2499370c401cdcc7c63e481084467291d556
tree22c0c6ef4f1780a51c20a83e65cd7ce8b70f8b58
parentcaf586e5f23cebb2a68cbaf288d59dbbf2d74052
net neigh: neigh_delete() and neigh_add() changes

neigh_delete() and neigh_add() dont need to touch device refcount,
we hold RTNL when calling them, so device cannot disappear under us.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c