Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/xen/xen Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/32b2d8a44e1c
branches:  netbsd-8
changeset: 447695:32b2d8a44e1c
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jan 21 20:12:15 2019 +0000

description:
Pull up following revision(s) (requested by bouyer in ticket #1166):

        sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.74

Don't call xennet_softstart from hard interrupt; schedule softint.

Fixes panic in bpf_mtap which expects to be called only in softint.

diffstat:

 sys/arch/xen/xen/if_xennet_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f3a359c23911 -r 32b2d8a44e1c sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c       Sun Jan 20 15:35:24 2019 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c       Mon Jan 21 20:12:15 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: if_xennet_xenbus.c,v 1.70.6.1 2018/07/26 23:55:29 snj Exp $      */
+/*      $NetBSD: if_xennet_xenbus.c,v 1.70.6.2 2019/01/21 20:12:15 martin Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.70.6.1 2018/07/26 23:55:29 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.70.6.2 2019/01/21 20:12:15 martin Exp $");
 
 #include "opt_xen.h"
 #include "opt_nfs_boot.h"
@@ -953,7 +953,7 @@
 end:
        if (ifp->if_flags & IFF_OACTIVE) {
                ifp->if_flags &= ~IFF_OACTIVE;
-               xennet_softstart(sc);
+               softint_schedule(sc->sc_softintr);
        }
 }
 



Home | Main Index | Thread Index | Old Index