On Wed, Sep 04, 2024 at 02:44:01PM +0200, Stefan Fritsch wrote:
> 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?

Is your test system newer than this commit?

CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org      2024/09/01 14:24:42

Modified files:
        sbin/dhcpleased: control.c

Log message:
dhcpleased: fix a sizeof for IMSG_REQUEST_REBOOT.

"fatal in engine: engine_dispatch_frontend: invalid IMSG_REQUEST_REBOOT"
reported by qwer.ty tuta io

ok florian kn

Reply via email to