android_kernel_xiaomi_sm8350/net/netlink
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
..
af_netlink.c [NETLINK]: negative groups in netlink_setsockopt 2007-07-18 02:07:51 -07:00
attr.c [NETLINK]: attr: add nested compat attribute type 2007-07-10 22:15:38 -07:00
genetlink.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
Makefile