K 10 svn:author V 6 jlemon K 8 svn:date V 27 2000-07-24T05:15:22.000000Z K 7 svn:log V 693 When shutdown(s, SHUT_RD) is called, it calls sorflush(), which uses bzero to wipe out the socket buffer. However, this is not the right thing to do, as some state may need to be kept (SB_SEL, SB_AIO, SB_KNOTE). In particular, erasing the si_note entry will cause a panic in filt_sordetach() later, when the system attempts to remove the knote from the SLIST. Add a workaround which leaves the si_note field alone. The real fix is to only clear out those fields which need to be reset, rather than using bzero() to swat everything. However, this close to -release, a minimal fix was chosen in order to keep changes to a minimum. Reviewed by: dillon, wollman (in concept) Approved by: jkh END