From 6275df35e4b574f089e8266e4dccec4d5e22c403 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 5 Mar 2007 21:00:34 +0000 Subject: net_filter is actually interrupt-safe --- ChangeLog | 1 - device/net_io.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5179bf6..501f0c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,6 @@ 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. diff --git a/device/net_io.c b/device/net_io.c index 9c7517a..b565aa3 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