Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 17:01:32 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r266049 - stable/9/sys/netinet
Message-ID:  <201405141701.s4EH1W32037377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405141701.s4EH1W32037377>