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
..
2013-07-09 08:23:43 +00:00
2013-05-21 21:39:18 +00:00
2013-05-21 21:39:18 +00:00
2013-07-09 08:23:43 +00:00
2012-03-25 12:13:24 +00:00
2012-05-11 20:06:46 +00:00