]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/netdevice.h
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)
commit34cbe27e811c591c854a39c0dee1b461bb796953
treef9371f25907985feef0b5e9c9d8b0f7ba1eb2432
parent6180d9de61a5c461f9e3efef5417a844701dbbb2
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