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 /drivers/net/team | |
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 'drivers/net/team')
-rw-r--r-- | drivers/net/team/team.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index f55758b0840e..2721e29935a6 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c | |||
@@ -2677,8 +2677,9 @@ static struct genl_multicast_group team_change_event_mcgrp = { | |||
2677 | static int team_nl_send_multicast(struct sk_buff *skb, | 2677 | static int team_nl_send_multicast(struct sk_buff *skb, |
2678 | struct team *team, u32 portid) | 2678 | struct team *team, u32 portid) |
2679 | { | 2679 | { |
2680 | return genlmsg_multicast_netns(dev_net(team->dev), skb, 0, | 2680 | return genlmsg_multicast_netns(&team_nl_family, dev_net(team->dev), |
2681 | team_change_event_mcgrp.id, GFP_KERNEL); | 2681 | skb, 0, team_change_event_mcgrp.id, |
2682 | GFP_KERNEL); | ||
2682 | } | 2683 | } |
2683 | 2684 | ||
2684 | static int team_nl_send_event_options_get(struct team *team, | 2685 | static int team_nl_send_event_options_get(struct team *team, |