cvs commit: src/sys/kern uipc_socket.c src/sys/sys protosw.h socket.h

Robert Watson rwatson at FreeBSD.org
Mon Apr 14 20:15:45 UTC 2008


On Mon, 14 Apr 2008, Randall Stewart wrote:

>  Add pru_flush routine so a transport can
>  flush itself during Shutdown
>
>  MFC after:      1 week

I'm not sure this is an MFCable change because:

(a) The new function pointer is inserted in the middle of the data protosw
     data structure, changing the interpretation of existing compiled protosw
     structures.

(b) Even if they were at the end of the structure, existing compiled protocols
     might well have garbage (or un-related data) beyond the end of the data
     structure, leading to a non-NULL pointer that is not a pointer to a flush
     function.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the cvs-src mailing list