: Fix adjustment of number of multicast groups
Subsystems (2)
The current calculation of the maximum number of genetlink multicast groups seems odd, fix it.
Signed-off-by Thomas Graf <[email protected]>
net/netlink/genetlink.c +1 -1
@@ -184,7 +184,7 @@ int genl_register_mc_group(struct genl_f } err =netlink_change_ngroups (genl_sock, -sizeof (unsigned long ) *NETLINK_GENERIC ); + mc_groups_longs *BITS_PER_LONG );if (err) goto out;
From: Thomas Graf <[email protected]>
Date: Tue, 24 Jul 2007 11:45:14 +0200
Quoted 4 lines
The current calculation of the maximum number of genetlink multicast groups seems odd, fix it.
Signed-off-by Thomas Graf <[email protected]>
Applied, thanks.