diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-19 09:19:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-19 16:39:06 -0500 |
commit | 68eb55031da7c967d954e5f9415cd05f4abdb692 (patch) | |
tree | 75751944b0c808ba191bcc6a752389593c41e805 /net/core | |
parent | 62b68e99faa802352e9cb2ae91adecd8dfddf1b8 (diff) |
genetlink: pass family to functions using groups
This doesn't really change anything, but prepares for the
next patch that will change the APIs to pass the group ID
within the family, rather than the global group ID.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/drop_monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c index 46ee488c0015..1eab1dc48821 100644 --- a/net/core/drop_monitor.c +++ b/net/core/drop_monitor.c | |||
@@ -120,7 +120,8 @@ static void send_dm_alert(struct work_struct *work) | |||
120 | skb = reset_per_cpu_data(data); | 120 | skb = reset_per_cpu_data(data); |
121 | 121 | ||
122 | if (skb) | 122 | if (skb) |
123 | genlmsg_multicast(skb, 0, dm_mcgrp.id, GFP_KERNEL); | 123 | genlmsg_multicast(&net_drop_monitor_family, skb, 0, |
124 | dm_mcgrp.id, GFP_KERNEL); | ||
124 | } | 125 | } |
125 | 126 | ||
126 | /* | 127 | /* |