summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-10-02 14:49:53 -0700
committerDavid S. Miller <davem@davemloft.net>2020-10-02 19:11:11 -0700
commit0b588afdd16f9e0b63128dc4bcd002e7f2725fe0 (patch)
treea3a8b861434b65311b9332016a20749d58324cad /net/l2tp
parente5086736969880478abb2ac85ef8757ac6ce45bf (diff)
downloadlinux-0b588afdd16f9e0b63128dc4bcd002e7f2725fe0.tar.gz
linux-0b588afdd16f9e0b63128dc4bcd002e7f2725fe0.tar.bz2
linux-0b588afdd16f9e0b63128dc4bcd002e7f2725fe0.zip
genetlink: add small version of ops
We want to add maxattr and policy back to genl_ops, to enable dumping per command policy to user space. This, however, would cause bloat for all the families with global policies. Introduce smaller version of ops (half the size of genl_ops). Translate these smaller ops into a full blown struct before use in the core. v1: - use struct assignment - put a full copy of the op in struct genl_dumpit_info - s/light/small/ Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions