Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Don't call xennet_softstart from hard inter...
details: https://anonhg.NetBSD.org/src/rev/1d89a3f126f8
branches: trunk
changeset: 359015:1d89a3f126f8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jan 25 17:41:49 2018 +0000
description:
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 69f215712b7c -r 1d89a3f126f8 sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c Thu Jan 25 17:14:36 2018 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c Thu Jan 25 17:41:49 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.73 2017/11/11 21:03:01 riastradh Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.74 2018/01/25 17:41:49 riastradh Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.73 2017/11/11 21:03:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.74 2018/01/25 17:41:49 riastradh Exp $");
#include "opt_xen.h"
#include "opt_nfs_boot.h"
@@ -956,7 +956,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