Hi,

during network driver testing I sometimes do a stress test with

while true; do ifconfig vio0 -inet; done &
while true; do ifconfig vio0 inet autoconf; done &
while true; do ifconfig vio0 -inet6; done &
while true; do ifconfig vio0 inet6 autoconf; done &
while true; do ifconfig vio0 down; done &
while true; do ifconfig vio0 up; done &

After I stop these jobs, "ifconfig vio0 autoconf" does not work any more 
because dhcpleased has died:

Sep  4 14:20:39 oatest dhcpleased[19462]: bpf_send_packet: writev: Network is 
down
Sep  4 14:20:39 oatest dhcpleased[19462]: bpf_send_packet: writev: Network is 
down
Sep  4 14:20:39 oatest dhcpleased[19462]: bpf_send_packet: writev: Network is 
down
Sep  4 14:20:39 oatest dhcpleased[19462]: bpf_send_packet: writev: Network is 
down
Sep  4 14:20:40 oatest dhcpleased[19462]: bpf_send_packet: writev: Network is 
down
Sep  4 14:20:40 oatest dhcpleased[80648]: fatal in main: msgbuf_write: Broken 
pipe

This is obviously not a severe bug, but slaacd survives the stress test. 
Maybe dhcpleased could improve its error handling, too?

Cheers,
Stefan

Reply via email to