svn commit: r235181 - stable/8/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed May 9 14:51:08 UTC 2012
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 {
More information about the svn-src-stable-8
mailing list