git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[GENETLINK]: Fix adjustment of number of multicast groups
[safe/jmp/linux-2.6]
/
net
/
netlink
/
genetlink.c
diff --git
a/net/netlink/genetlink.c
b/net/netlink/genetlink.c
index
61d6556
..
457a287
100644
(file)
--- a/
net/netlink/genetlink.c
+++ b/
net/netlink/genetlink.c
@@
-184,7
+184,7
@@
int genl_register_mc_group(struct genl_family *family,
}
err = netlink_change_ngroups(genl_sock,
-
sizeof(unsigned long) * NETLINK_GENERIC
);
+
mc_groups_longs * BITS_PER_LONG
);
if (err)
goto out;