https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209427

--- Comment #1 from Roman Bogorodskiy <no...@freebsd.org> ---
Created attachment 170183
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170183&action=edit
dirty fix

Attaching a dirty fix that changes vtnet_is_link_up() just to check the
IFF_DRV_RUNNING flag and also calling vtnet_update_link_status() instead of
setting sc->vtnet_link_active to 0 in vtnet_stop().

This is most likely wrong and breaks something, though at fixes the original
issue:

# fg
cat /var/run/devd.seqpacket.pipe (wd: ~)
^Z
Suspended
(wd now: /usr/src/sys/dev/virtio/network)
# ifconfig vtnet0 down; ifconfig vtnet0 up
# fg
cat /var/run/devd.seqpacket.pipe (wd: ~)
!system=IFNET subsystem=vtnet0 type=LINK_DOWN
!system=IFNET subsystem=vtnet0 type=LINK_UP

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to