[Bug 194577] mbuf packet header leakage when closing TUN devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 27 19:54:35 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194577

--- Comment #8 from Andrey V. Elsukov <ae at FreeBSD.org> ---
Comment on attachment 148695
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148695
kernel function for printing mbuf info

>	printf("mbuf %p: len %u, flags %b\n", m, m->m_len,
>	    m->m_flags, M_FLAG_PRINTF);

Nothing specific :(
It seems the last what here can be interesting is the following:

if (m->m_flags & M_PKTHDR)
  printf("  hdrlen %u\n", m, m->m_pkthdr.len)

>	if (m->m_len < sizeof(struct ip))
>		return;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list