Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 19:54:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194577] mbuf packet header leakage when closing TUN devices
Message-ID:  <bug-194577-8-yQL2pa7M8E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194577-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194577-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194577

--- Comment #8 from Andrey V. Elsukov <ae@FreeBSD.org> ---
Comment on attachment 148695
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148695
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;

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194577-8-yQL2pa7M8E>