From: David S. Miller Date: Wed, 30 Sep 2009 23:12:20 +0000 (-0700) Subject: net: Make setsockopt() optlen be unsigned. X-Git-Tag: v2.6.32-rc3~56^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7058842c940ad2c08dd829b21e5c92ebe3b8758;p=pandora-kernel.git net: Make setsockopt() optlen be unsigned. This provides safety against negative optlen at the type level instead of depending upon (sometimes non-trivial) checks against this sprinkled all over the the place, in each and every implementation. Based upon work done by Arjan van de Ven and feedback from Linus Torvalds. Signed-off-by: David S. Miller --- Reading git-diff-tree failed