From: Johannes Berg <[EMAIL PROTECTED]> Date: Tue, 17 Jul 2007 14:26:04 +0200
> 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. > > Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> Applied, but I updated the "(int __user *)" cast in get_user() to match as well when applying this. Thanks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html