]> git.baikalelectronics.ru Git - kernel.git/commit
net: tipc: allocate attrs locally instead of using genl_family_attrbuf in compat_dumpit()
authorJiri Pirko <jiri@mellanox.com>
Sat, 5 Oct 2019 18:04:40 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 13:44:47 +0000 (15:44 +0200)
commitd9c352f2bbd14c72c9a5e2451dd5135471ae250d
treebb8575a5a7570c509dab57f5a45169e87b95dc5d
parentd305bb2f4cf4a0f5ba3acbd751acb6349ece2e31
net: tipc: allocate attrs locally instead of using genl_family_attrbuf in compat_dumpit()

As this is the last user of genl_family_attrbuf, convert to allocate
attrs locally and do it in a similar way this is done in compat_doit().

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/netlink.c
net/tipc/netlink.h
net/tipc/netlink_compat.c