]> asedeno.scripts.mit.edu Git - linux.git/commit
genetlink: introduce and use genl_family_attrbuf()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 24 Oct 2016 12:40:01 +0000 (14:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Oct 2016 20:16:08 +0000 (16:16 -0400)
commitc90c39dab3e02ce45427a214746711f33ad13be6
treebfd0b747bc412fbe73ea68518df15d149ce8333a
parent4fe77d82ef80c77031c9c6f8554cd0dee2aa423a
genetlink: introduce and use genl_family_attrbuf()

This helper function allows family implementations to access
their family's attrbuf. This gets rid of the attrbuf usage
in families, and also adds locking validation, since it's not
valid to use the attrbuf with parallel_ops or outside of the
dumpit callback.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/ieee802154/nl802154.c
net/netlink/genetlink.c
net/nfc/netlink.c
net/tipc/netlink.c
net/wireless/nl80211.c