Index | Thread | Search

From:
Josef Moore <josefmoore666@gmail.com>
Subject:
Fwd: patch: ifconfig hangs bce i386
To:
tech@openbsd.org
Date:
Thu, 14 Nov 2024 11:30:03 +0200

Download raw body.

Thread
  • Josef Moore:

    patch: ifconfig hangs bce i386

https://marc.info/?l=openbsd-bugs&m=171208329805648&w=2

---------- Forwarded message ---------
Lähettäjä: Petteri Reunamo
Date: su 3.11.2024 klo 21.54
Subject: patch: ifconfig hangs bce i386
To: <tech@openbsd.org>

Index: sys/dev/pci/if_bce.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bce.c,v
retrieving revision 1.57
diff -u -p -u -p -r1.57 if_bce.c
--- sys/dev/pci/if_bce.c        31 Aug 2024 16:23:09 -0000      1.57
+++ sys/dev/pci/if_bce.c        3 Nov 2024 19:54:44 -0000
@@ -439,6 +439,7 @@ bce_activate(struct device *self, int ac
                        bce_stop(ifp);
                break;
        case DVACT_RESUME:
+               bce_reset(sc);
                if (ifp->if_flags & IFF_UP) {
                        bce_init(ifp);
                        bce_start(ifp);