]> 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)
commit2e036b7f8920f5d8ba2594a209f0a55b5b18edc8
treef9371f25907985feef0b5e9c9d8b0f7ba1eb2432
parentd445626c7a70717201bbbd98881bd8fe217d6842
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