svn commit: r234951 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu May 3 10:26:34 UTC 2012


Author: tuexen
Date: Thu May  3 10:26:33 2012
New Revision: 234951
URL: http://svn.freebsd.org/changeset/base/234951

Log:
  Fix another RFC 6458 issue. Spotted by Irene Ruengeler.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_output.c
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Thu May  3 09:58:36 2012	(r234950)
+++ head/sys/netinet/sctp_output.c	Thu May  3 10:26:33 2012	(r234951)
@@ -3430,7 +3430,7 @@ sctp_find_cmsg(int c_type, void *data, s
 					}
 					m_copydata(control, at + CMSG_ALIGN(sizeof(struct cmsghdr)), sizeof(struct sctp_authinfo), (caddr_t)&authinfo);
 					sndrcvinfo->sinfo_keynumber_valid = 1;
-					sndrcvinfo->sinfo_keynumber = authinfo.auth_keyid;
+					sndrcvinfo->sinfo_keynumber = authinfo.auth_keynumber;
 					break;
 				default:
 					return (found);

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h	Thu May  3 09:58:36 2012	(r234950)
+++ head/sys/netinet/sctp_uio.h	Thu May  3 10:26:33 2012	(r234951)
@@ -169,7 +169,7 @@ struct sctp_default_prinfo {
 };
 
 struct sctp_authinfo {
-	uint16_t auth_keyid;
+	uint16_t auth_keynumber;
 };
 
 struct sctp_rcvinfo {


More information about the svn-src-all mailing list