summaryrefslogtreecommitdiff
path: root/net/netlink/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-10-05 21:04:35 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-06 16:44:46 +0300
commitc10e6cf85e7d984a156052daeedaf20a1f38824f (patch)
tree0bf717b0b51b394899fe5f043a0d3b03f46fb7d7 /net/netlink/Kconfig
parent1927f41a22a05e3bc178fa47f7ce7be271fbc541 (diff)
downloadlinux-c10e6cf85e7d984a156052daeedaf20a1f38824f.tar.xz
net: genetlink: push attrbuf allocation and parsing to a separate function
To be re-usable by dumpit as well, push the code that is taking care of attrbuf allocation and parting from doit into separate function. Introduce a helper to free the buffer too. Check family->maxattr too before calling kfree() to be symmetrical with the allocation check. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/Kconfig')
0 files changed, 0 insertions, 0 deletions