Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2012 14:51:07 +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-8@freebsd.org
Subject:   svn commit: r235181 - stable/8/sys/netinet
Message-ID:  <201205091451.q49Ep797088464@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Wed May  9 14:51:07 2012
New Revision: 235181
URL: http://svn.freebsd.org/changeset/base/235181

Log:
  MFC r234951:
  Fix another RFC 6458 issue. Spotted by Irene Ruengeler.

Modified:
  stable/8/sys/netinet/sctp_output.c
  stable/8/sys/netinet/sctp_uio.h
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netinet/sctp_output.c
==============================================================================
--- stable/8/sys/netinet/sctp_output.c	Wed May  9 14:45:40 2012	(r235180)
+++ stable/8/sys/netinet/sctp_output.c	Wed May  9 14:51:07 2012	(r235181)
@@ -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: stable/8/sys/netinet/sctp_uio.h
==============================================================================
--- stable/8/sys/netinet/sctp_uio.h	Wed May  9 14:45:40 2012	(r235180)
+++ stable/8/sys/netinet/sctp_uio.h	Wed May  9 14:51:07 2012	(r235181)
@@ -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?201205091451.q49Ep797088464>