diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-19 15:19:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-19 22:39:05 +0100 |
commit | e5dcecba015f9774a402ba559b80b16999747e3b (patch) | |
tree | 866103a98e1987c6b52a05a41cc0f5cbc1c14add /samples | |
parent | genetlink: only pass array to genl_register_family_with_ops() (diff) | |
download | linux-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