netlink/genetlink: pass network namespace to bind/unbind
[firefly-linux-kernel-4.4.55.git] / include / net / genetlink.h
index 3ed31e5a445b804830c5daaa063d1267665b5705..84125088c309afb988daa4b24368c2d9e0f02588 100644 (file)
@@ -56,8 +56,8 @@ struct genl_family {
        void                    (*post_doit)(const struct genl_ops *ops,
                                             struct sk_buff *skb,
                                             struct genl_info *info);
-       int                     (*mcast_bind)(int group);
-       void                    (*mcast_unbind)(int group);
+       int                     (*mcast_bind)(struct net *net, int group);
+       void                    (*mcast_unbind)(struct net *net, int group);
        struct nlattr **        attrbuf;        /* private */
        const struct genl_ops * ops;            /* private */
        const struct genl_multicast_group *mcgrps; /* private */