cvs commit: src/sys/sys socketvar.h
Gleb Smirnoff
glebius at FreeBSD.org
Sun Jan 30 05:11:45 PST 2005
glebius 2005-01-30 13:11:44 UTC
FreeBSD src repository
Modified files:
sys/sys socketvar.h
Log:
Move sb_state to the beginning of structure, above sb_startzero member.
sb_state shouldn't be erased, when socket buffer is flushed by sorflush().
When sb_state was bzero'ed, a recently set SBS_CANTRCVMORE flag was cleared.
If a socket was shutdown(SHUT_RD), a subsequent read() would block on it.
Reported by: Ed Maste, Gerrit Nagelhout
Reviewed by: rwatson
Revision Changes Path
1.137 +1 -1 src/sys/sys/socketvar.h
More information about the cvs-src
mailing list