Make the openflow and brcompt modules use different netlink mc groups.
authorJustin Pettit <jpettit@nicira.com>
Fri, 2 Jan 2009 23:40:54 +0000 (15:40 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Jan 2009 23:41:42 +0000 (15:41 -0800)
datapath/linux-2.6/compat-2.6/genetlink.c

index c0e6ae9f147dec8170851155d5b914b3b44d5a43..a6fa073abf9c9e6b8b3440a1d45b61f53534a384 100644 (file)
@@ -6,7 +6,7 @@
 int genl_register_mc_group(struct genl_family *family,
         struct genl_multicast_group *grp)
 {
-       grp->id = 1;
+       grp->id = family->id;
        grp->family = family;
 
        return 0;