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 16:39:05 -0500 |
commit | e5dcecba015f9774a402ba559b80b16999747e3b (patch) | |
tree | 866103a98e1987c6b52a05a41cc0f5cbc1c14add /fs/quota/netlink.c | |
parent | c53ed7423619b4e8108914a9f31b426dd58ad591 (diff) |
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 'fs/quota/netlink.c')
0 files changed, 0 insertions, 0 deletions