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
2013-11-12 12:23:54 +00:00
2013-11-23 18:50:43 +00:00
2013-11-23 18:50:43 +00:00
2013-12-13 21:50:03 +00:00
2013-11-10 04:06:46 +00:00