[GENETLINK]: Fix adjustment of number of multicast groups
authorThomas Graf <tgraf@suug.ch>
Tue, 24 Jul 2007 22:33:51 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2007 22:33:51 +0000 (15:33 -0700)
commit2c04ddb707b4d50c314186249f466b6720ee4289
tree49c4f918f41ff16442c20c4a165f41d836bcd8d5
parent79dc4386aec655ad829f320ab90888bacbc7037b
[GENETLINK]: Fix adjustment of number of multicast groups

The current calculation of the maximum number of genetlink
multicast groups seems odd, fix it.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/genetlink.c