diff options
Diffstat (limited to 'net/openvswitch/dp_notify.c')
-rw-r--r-- | net/openvswitch/dp_notify.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openvswitch/dp_notify.c b/net/openvswitch/dp_notify.c index 3d55ead6095c..f4b66c84ea0b 100644 --- a/net/openvswitch/dp_notify.c +++ b/net/openvswitch/dp_notify.c | |||
@@ -34,13 +34,14 @@ static void dp_detach_port_notify(struct vport *vport) | |||
34 | OVS_VPORT_CMD_DEL); | 34 | OVS_VPORT_CMD_DEL); |
35 | ovs_dp_detach_port(vport); | 35 | ovs_dp_detach_port(vport); |
36 | if (IS_ERR(notify)) { | 36 | if (IS_ERR(notify)) { |
37 | genl_set_err(ovs_dp_get_net(dp), 0, | 37 | genl_set_err(&dp_vport_genl_family, ovs_dp_get_net(dp), 0, |
38 | ovs_dp_vport_multicast_group.id, | 38 | ovs_dp_vport_multicast_group.id, |
39 | PTR_ERR(notify)); | 39 | PTR_ERR(notify)); |
40 | return; | 40 | return; |
41 | } | 41 | } |
42 | 42 | ||
43 | genlmsg_multicast_netns(ovs_dp_get_net(dp), notify, 0, | 43 | genlmsg_multicast_netns(&dp_vport_genl_family, |
44 | ovs_dp_get_net(dp), notify, 0, | ||
44 | ovs_dp_vport_multicast_group.id, | 45 | ovs_dp_vport_multicast_group.id, |
45 | GFP_KERNEL); | 46 | GFP_KERNEL); |
46 | } | 47 | } |