summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-11-19 15:19:32 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-19 22:39:05 +0100
commite5dcecba015f9774a402ba559b80b16999747e3b (patch)
tree866103a98e1987c6b52a05a41cc0f5cbc1c14add /samples
parentgenetlink: only pass array to genl_register_family_with_ops() (diff)
downloadlinux-e5dcecba015f9774a402ba559b80b16999747e3b.tar.xz
linux-e5dcecba015f9774a402ba559b80b16999747e3b.zip
drop_monitor/genetlink: use proper genetlink multicast APIs
The drop monitor code is abusing the genetlink API and is statically using the generic netlink multicast group 1, even if that group belongs to somebody else (which it invariably will, since it's not reserved.) Make the drop monitor code use the proper APIs to reserve a group ID, but also reserve the group id 1 in generic netlink code to preserve the userspace API. Since drop monitor can be a module, don't clear the bit for it on unregistration. Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions