]> git.baikalelectronics.ru Git - kernel.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)
commite675513819286d040e8f9166d6795aa640ff5640
treebfd0b747bc412fbe73ea68518df15d149ce8333a
parent742a0d713c2d7cd65a3543e68d2ff968f3a172f5
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