socket: Mark the asynchronous rcvd netmsg dead, when it is dropped
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 29 Jan 2013 08:29:35 +0000 (16:29 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 29 Jan 2013 08:29:35 +0000 (16:29 +0800)
commita77d3dfefb00a73c7f5d20ad8f37dfaef9536dce
treebe3a4df56483651d3c1849869a15fa0c4d988d2b
parent4bde06ccdb1b212c3acdbbdb02feb4c96c47fcab
socket: Mark the asynchronous rcvd netmsg dead, when it is dropped

This is an attempt to fix the race that asynchronous rcvd netmsg
is queued to netisr after it is dropped in tcp_close().

Reported-by: ftigeot@
sys/kern/uipc_msg.c
sys/net/netmsg.h