From 85cc387fcadf24c1c4a1c3df515619bd48914457 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 5 Mar 2007 20:48:36 +0000 Subject: 2007-03-05 Samuel Thibault [bug #18349 --- ``General Protection Trap'' in `ipc_kmsg_enqueue'] * device/net_io.c (net_deliver): Call net_filter() with splimp held. * linux/dev/glue/net.c (device_write): Call net_packet() with splimp held. --- device/net_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device') diff --git a/device/net_io.c b/device/net_io.c index b565aa3..9c7517a 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -444,13 +444,13 @@ boolean_t net_deliver(nonblocking) } else return FALSE; simple_unlock(&net_queue_lock); - (void) spl0(); /* * Run the packet through the filters, * getting back a queue of packets to send. */ net_filter(kmsg, &send_list); + (void) spl0(); if (!nonblocking) { /* -- cgit v1.2.3