Johannes Berg eb49653449 [NETLINK]: negative groups in netlink_setsockopt
Reading netlink_setsockopt it's not immediately clear why there isn't a
bug when you pass in negative numbers, the reason being that the >=
comparison is really unsigned although 'val' is signed because
nlk->ngroups is unsigned. Make 'val' unsigned too.

[ Update the get_user() cast to match.  --DaveM ]

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-18 02:07:51 -07:00
..
2007-07-14 18:56:30 -07:00
2007-07-18 01:46:50 -07:00
2007-07-10 22:55:49 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:45 -07:00
2005-04-16 15:20:36 -07:00