x86: interrupt return path checks kmsgs
[akaros.git] / kern / arch / i686 / ne2k.c
index 4be26c5..5576550 100644 (file)
@@ -391,7 +391,7 @@ void ne2k_handle_rx_packet() {
                return;
        }
 
-
+#ifdef __CONFIG_APPSERVER__
        // Treat as a syscall frontend response packet if eth_type says so
        // Will eventually go away, so not too worried about elegance here...
        #include <frontend.h>
@@ -402,6 +402,7 @@ void ne2k_handle_rx_packet() {
                kfree(rx_buffer);
                return;
        }
+#endif
 
        spin_lock(&packet_buffers_lock);