recent current panic
Tim Robbins
tjr at freebsd.org
Thu Nov 27 00:31:19 PST 2003
On Wed, Nov 26, 2003 at 03:00:35PM +0300, ?????? ????????? ?????????? wrote:
> i got a panic on recent -CURRENT:
>
> # tcpdump -i lo0 port 23 &
> [1] 507
> listening on lo0
This is a known bug; silby@ is working to fix "lo" and the rest of the
affected network drivers. See PR kern/59576.
Here's the local patch to if_loop.c I'm using until this gets fixed.
I've patched if_tun.c similarly.
Index: if_loop.c
===================================================================
RCS file: /home/ncvs/src/sys/net/if_loop.c,v
retrieving revision 1.92
diff -u -r1.92 if_loop.c
--- if_loop.c 20 Nov 2003 20:07:37 -0000 1.92
+++ if_loop.c 27 Nov 2003 08:18:33 -0000
@@ -262,6 +262,7 @@
* will only read from the mbuf (i.e., it won't
* try to free it or keep a pointer a to it).
*/
+ bzero(&m0, sizeof(m0));
m0.m_next = m;
m0.m_len = 4;
m0.m_data = (char *)⁡
More information about the freebsd-current
mailing list