34c34
< __FBSDID("$FreeBSD: head/sys/netsmb/smb_trantcp.c 126425 2004-03-01 03:14:23Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/netsmb/smb_trantcp.c 130480 2004-06-14 18:16:22Z rwatson $");
417,418c417,418
< if (so->so_state &
< (SS_ISDISCONNECTING | SS_ISDISCONNECTED | SS_CANTRCVMORE)) {
---
> if ((so->so_state & (SS_ISDISCONNECTING | SS_ISDISCONNECTED)) ||
> (so->so_rcv.sb_state & SBS_CANTRCVMORE)) {
< __FBSDID("$FreeBSD: head/sys/netsmb/smb_trantcp.c 126425 2004-03-01 03:14:23Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/netsmb/smb_trantcp.c 130480 2004-06-14 18:16:22Z rwatson $");
417,418c417,418
< if (so->so_state &
< (SS_ISDISCONNECTING | SS_ISDISCONNECTED | SS_CANTRCVMORE)) {
---
> if ((so->so_state & (SS_ISDISCONNECTING | SS_ISDISCONNECTED)) ||
> (so->so_rcv.sb_state & SBS_CANTRCVMORE)) {