svn commit: r266049 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed May 14 17:01:32 UTC 2014


Author: tuexen
Date: Wed May 14 17:01:31 2014
New Revision: 266049
URL: http://svnweb.freebsd.org/changeset/base/266049

Log:
  MFC r257274:
  
  Fis the value of *optlen when calling getsockopt() for
  SCTP_REMOTE_UDP_ENCAPS_PORT.
  This issue was reported by Andrew Galante.

Modified:
  stable/9/sys/netinet/sctp_usrreq.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/9/sys/netinet/sctp_usrreq.c	Wed May 14 16:59:32 2014	(r266048)
+++ stable/9/sys/netinet/sctp_usrreq.c	Wed May 14 17:01:31 2014	(r266049)
@@ -3281,7 +3281,7 @@ flags_out:
 				}
 			}
 			if (error == 0) {
-				*optsize = sizeof(struct sctp_paddrparams);
+				*optsize = sizeof(struct sctp_udpencaps);
 			}
 			break;
 		}


More information about the svn-src-all mailing list