NFS - Fix socket race against nfs_timer.
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 21:46:40 +0000 (14:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 21:46:40 +0000 (14:46 -0700)
commit978c934bb877ab5e0026c43df4a3ffe96f1aedf0
treeb8c74b15a524d3137c61d1f723f2e08763942281
parent0bd7a37c6472ea619a1815995fa681750bb378cb
NFS - Fix socket race against nfs_timer.

* Fix a socket race where the nfs_timer can sometimes operate on a
  TCP socket before the socket completes its connection to the target,
  resulting in a panic.

Tracked-down-by: Sepherosa Ziehau <sepherosa@gmail.com>
sys/vfs/nfs/nfs_socket.c