glebius 2007-03-22 13:21:24 UTC FreeBSD src repository
Modified files: sys/kern uipc_socket.c Log: Move the dom_dispose and pru_detach calls in sofree() earlier. Only after calling pru_detach we can be absolutely sure, that we don't have any references to the socket in the stack. This closes race between lockless sbdestroy() and data arriving on socket. Reviewed by: rwatson Revision Changes Path 1.295 +5 -4 src/sys/kern/uipc_socket.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"