]> git.proxmox.com Git - mirror_ovs.git/blobdiff - datapath/datapath.c
datapath: Account for "genetlink: pass only network namespace to genl_has_listeners()"
[mirror_ovs.git] / datapath / datapath.c
index 5873f072b2b6e7182b855231fa82fc63f1c6afcd..697a36b9b2c0359afc3db03af7bc3e09c718b169 100644 (file)
@@ -85,8 +85,7 @@ static bool ovs_must_notify(struct genl_family *family, struct genl_info *info,
                            unsigned int group)
 {
        return info->nlhdr->nlmsg_flags & NLM_F_ECHO ||
-              genl_has_listeners(family, genl_info_net(info)->genl_sock,
-                                 group);
+              genl_has_listeners(family, genl_info_net(info), group);
 }
 
 static void ovs_notify(struct genl_family *family, struct genl_multicast_group *grp,