Date: Tue, 11 Nov 2003 20:27:13 +1100 From: Tim Robbins <tjr@freebsd.org> To: current@freebsd.org Subject: tun + bpf = busted Message-ID: <20031111092713.GA698@wombat.robbins.dropbear.id.au>
next in thread | raw e-mail | index | archive | help
With INVARIANTS enabled, I get a kernel panic when I run tcpdump on a "tun" interface. The message is "tunoutput: attempted use of a free mbuf!". This occurs because tun creates temporary mbufs on the stack and does not initialize m_flags, so it may or may not have the M_FREELIST bit set depending on what junk is on the stack. This seems to affect a whole bunch of other network drivers too. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111092713.GA698>