eadler 7034cd98a4 libc/net: Fix some issues in inet6_opt_init() (from RFC 3542):
* The RFC says (in section 10.1) that only when extbuf is not NULL,
extlen shall be checked, so don't perform this check when NULL is
passed.

* socklen_t is unsigned, so checking extlen for less than zero is
not needed.

Submitted by:	swildner@dragonflybsd.org
Reviewed by:	Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Reviewed by:	hrs
Obtained by:	DragonFlyBSD
2014-02-04 03:01:33 +00:00
..
2013-01-01 18:29:25 +00:00
2014-01-03 09:10:04 +00:00
2013-10-25 05:25:19 +00:00
2013-12-25 19:38:16 +00:00
2014-01-21 21:13:13 +00:00
2014-01-30 08:37:23 +00:00
2012-06-02 08:47:26 +00:00
2014-02-01 09:27:57 +00:00
2013-11-21 20:43:43 +00:00
2013-05-30 08:02:00 +00:00
2014-01-01 00:45:28 +00:00
2013-05-12 22:22:12 +00:00
2014-01-26 23:40:31 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2014-01-30 21:08:36 +00:00