Do not return an EINVAL error for certain abort and disconnect cases.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 29 Sep 2008 20:52:23 +0000 (20:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 29 Sep 2008 20:52:23 +0000 (20:52 +0000)
commit698917579a3ceff71fc1f321d2ff2fef1e959168
tree23a2fd222c17fd14d3ba49f60120f1f49e2bf9f3
parentc08d07ddfe67250b8dabe4e3419a30a48588fbf2
Do not return an EINVAL error for certain abort and disconnect cases.
Otherwise an async close() by the other end can cause our close() to
return EINVAL.
sys/netinet/tcp_usrreq.c