]> git.baikalelectronics.ru Git - kernel.git/commit
net: napi_hash_del() returns a boolean status
authorEric Dumazet <edumazet@google.com>
Wed, 18 Nov 2015 14:31:02 +0000 (06:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2015 21:17:42 +0000 (16:17 -0500)
commit0f513b039e64d8753f32944c5536638d849bf32a
treef9371f25907985feef0b5e9c9d8b0f7ba1eb2432
parentbbd86ef39182c38fb509271087c4f9b9bce0cc5a
net: napi_hash_del() returns a boolean status

napi_hash_del() will soon be used from both drivers (if they want)
or core networking stack.

Callers are responsibles to ensure an RCU grace period is respected
before freeing napi structure : napi_hash_del() can signal if
this RCU grace period is needed or not.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c