Fixes TCP hangup bug
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 31 Mar 2014 23:29:19 +0000 (16:29 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 31 Mar 2014 23:29:19 +0000 (16:29 -0700)
commit29c5d975531623981df23f351b2b734969ced08d
tree70b9d184c9af3c116bc41a9ec388e289e01f215c
parent90d2bfe7b32f0df836c139b3fa9b55da328d2f5e
Fixes TCP hangup bug

The old check is always true, since raddr is an array.  This would break
when you try to hangup an announced, but unconnected conversation.
kern/src/net/tcp.c