]> Zhao Yanbai Git Server - minix.git/commit
libnetdriver: only block datalink messages 41/741/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 18 Aug 2013 10:04:25 +0000 (12:04 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 18 Aug 2013 10:09:51 +0000 (12:09 +0200)
commit4cd78c64a4f3e9ec147cae90c3d00f15d5ba3c14
tree353067cc02b7eef2a54533e14dd01984293c3736
parent1e70f9f0b392f7cff1679a4c029222e8400afbe5
libnetdriver: only block datalink messages

Previously, all incoming messages would be blocked before a DL_CONF
message arrives from the TCP/IP stack. This however makes it impossible
for a driver to process interrupts before the DL_CONF initialization.
This patch blocks only datalink messages before the initial DL_CONF,
and lets through all other messages to the driver.

Change-Id: I89988958c0bff9bb38e0379b66f6142491a67b61
include/minix/com.h
lib/libnetdriver/netdriver.c