David S. Miller b7058842c9 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 <davem@davemloft.net>
2009-09-30 16:12:20 -07:00
..
2008-06-17 16:20:06 -07:00
2008-06-17 16:20:06 -07:00
2009-09-01 17:40:57 -07:00
2008-01-28 15:00:11 -08:00
2009-09-01 01:13:10 -07:00
2006-12-02 21:32:08 -08:00
2009-09-01 01:13:10 -07:00
2008-10-31 00:54:56 -07:00
2009-08-05 10:42:58 -07:00
2005-04-16 15:20:36 -07:00
2009-06-18 00:29:12 -07:00
2008-12-03 22:12:38 -08:00
2008-12-03 22:12:38 -08:00
2007-10-10 16:54:48 -07:00
2007-02-10 23:19:16 -08:00