Date: Sun, 25 Aug 2013 09:49:01 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254834 - in head/sys: netinet netinet6 Message-ID: <201308250949.r7P9n127082508@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308250949.r7P9n127082508>