Michael Tuexen 1dd0c90501 Fix several bugs in sctp_bindx():
* Set errno to EAFNOSUPPORT if an address is provided which is neither
  AF_INET nor AF_INET6.
* Don't modify the arguments.
* Don't smash the stack when provided with a non-zero port.
* Handle the case correctly where the first address provided is
  an IPv6 address.

MFC after: 3 days
2014-01-04 11:39:59 +00:00
..
2014-01-04 11:39:59 +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
2013-11-19 16:11:03 +00:00
2014-01-03 09:07:03 +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
2013-05-12 22:22:12 +00:00
2013-09-05 12:21:11 +00:00
2013-12-31 23:59:33 +00:00