Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 11:22:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193681] kernel panic: dhclient NULL pointer in ether_output_frame() when using dummynet at layer2
Message-ID:  <bug-193681-8-rnRqOA9BJc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193681-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193681-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=193681

--- Comment #2 from Kate <kate@elide.org> ---
In both cases, I can confirm the presence of dummynet's pipe at layer2 is
requisite for producing the symptoms:

#
# sysctl net.link.ether.ipfw=1
net.link.ether.ipfw: 0 -> 1
# sysctl net.link.bridge.ipfw=1
net.link.bridge.ipfw: 0 -> 1
#
# dhclient arge0
DHCPDISCOVER on arge0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.0.1
DHCPREQUEST on arge0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
bound to 10.0.0.12 -- renewal in 300 seconds.
#
#
# ps auxww|grep dhclient
root  281  1.0  3.1 10644 2004 u0  S     7:17PM 0:00.04 grep dhclient
root  268  0.0  1.8 10428 1180  -  Is    7:16PM 0:00.02 dhclient: arge0 [priv]
(dhclient)
_dhcp 276  0.0  1.6 10428 1032  -  Is    7:16PM 0:00.00 dhclient: arge0
(dhclient)
# kill 268
# kill 276
#
# ipfw add 100 pipe 1 ip from any to any layer2
00100 pipe 1 ip from any to any layer2
# ipfw pipe 1 config
# dhclient arge0
DHCPREQUEST on arge0 to 255.255.255.255 port 67
Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
[ thread pid 11 tid 100024 ]
Stopped at      ether_output_frame+0x50:        lw      v0,680(s0)
db>

-- 
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-193681-8-rnRqOA9BJc>