git: socket: Mark the asynchronous rcvd netmsg dead, when it is dropped

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jan 29 00:32:26 PST 2013


commit a77d3dfefb00a73c7f5d20ad8f37dfaef9536dce
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Jan 29 16:29:35 2013 +0800

    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@

Summary of changes:
 sys/kern/uipc_msg.c | 14 ++++++++++++--
 sys/net/netmsg.h    |  1 +
 2 files changed, 13 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a77d3dfefb00a73c7f5d20ad8f37dfaef9536dce


-- 
DragonFly BSD source repository



More information about the Commits mailing list