Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2012 10:26:34 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234951 - head/sys/netinet
Message-ID:  <201205031026.q43AQYFi032363@svn.freebsd.org>

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



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