PERFORCE change 128497 for review
Kip Macy
kmacy at FreeBSD.org
Thu Nov 1 21:55:32 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=128497
Change 128497 by kmacy at kmacy:storage:toestack on 2007/11/02 04:54:47
print the address of the mbuf we're discarding as it may be corrupted from use after free
Affected files ...
.. //depot/projects/toestack/sys/net/if_ethersubr.c#6 edit
Differences ...
==== //depot/projects/toestack/sys/net/if_ethersubr.c#6 (text+ko) ====
@@ -684,7 +684,7 @@
etype = ntohs(eh->ether_type);
if ((m->m_flags & M_PKTHDR) == 0)
- if_printf(ifp, "discard frame w/o packet header\n");
+ if_printf(ifp, "discard frame w/o packet header m=%p\n", m);
if (m->m_len < ETHER_HDR_LEN)
if_printf(ifp, "discard frame w/o leading ethernet "
"header (len %u pkt len %u)\n",
More information about the p4-projects
mailing list