svn commit: r254834 - in head/sys: netinet netinet6
Andre Oppermann
andre at FreeBSD.org
Sun Aug 25 09:49:01 UTC 2013
Author: andre
Date: Sun Aug 25 09:49:00 2013
New Revision: 254834
URL: http://svnweb.freebsd.org/changeset/base/254834
Log:
For now limit printf(9) %x of the 64bit pkthdr.csum_flags field to 32bits.
The upper 32bits are not occupied for now.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/netinet/sctp_input.c
head/sys/netinet6/sctp6_usrreq.c
Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c Sun Aug 25 09:46:03 2013 (r254833)
+++ head/sys/netinet/sctp_input.c Sun Aug 25 09:49:00 2013 (r254834)
@@ -6026,7 +6026,7 @@ sctp_input_with_port(struct mbuf *i_pak,
"sctp_input(): Packet of length %d received on %s with csum_flags 0x%x.\n",
m->m_pkthdr.len,
if_name(m->m_pkthdr.rcvif),
- m->m_pkthdr.csum_flags);
+ (int)m->m_pkthdr.csum_flags);
if (m->m_flags & M_FLOWID) {
mflowid = m->m_pkthdr.flowid;
use_mflowid = 1;
Modified: head/sys/netinet6/sctp6_usrreq.c
==============================================================================
--- head/sys/netinet6/sctp6_usrreq.c Sun Aug 25 09:46:03 2013 (r254833)
+++ head/sys/netinet6/sctp6_usrreq.c Sun Aug 25 09:49:00 2013 (r254834)
@@ -112,7 +112,7 @@ sctp6_input_with_port(struct mbuf **i_pa
"sctp6_input(): Packet of length %d received on %s with csum_flags 0x%x.\n",
m->m_pkthdr.len,
if_name(m->m_pkthdr.rcvif),
- m->m_pkthdr.csum_flags);
+ (int)m->m_pkthdr.csum_flags);
if (m->m_flags & M_FLOWID) {
mflowid = m->m_pkthdr.flowid;
use_mflowid = 1;
More information about the svn-src-all
mailing list