commit | c90c39dab3e02ce45427a214746711f33ad13be6 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Oct 24 14:40:01 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 27 16:16:08 2016 -0400 |
tree | bfd0b747bc412fbe73ea68518df15d149ce8333a | |
parent | 4fe77d82ef80c77031c9c6f8554cd0dee2aa423a [diff] |
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>