net: Make setsockopt() optlen be unsigned.
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2009 23:12:20 +0000 (16:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2009 23:12:20 +0000 (16:12 -0700)
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 <davem@davemloft.net>

No differences found