On Wed, 2007-11-28 at 14:59 -0800, Erik Nordmark wrote:
> That isn't the use case for msg_extractcred().
> The use case if the need to efficiently move a cred/cpid from one 
> message (e.g., a TCP/IP packet with a SYN) to another message (e.g., a 
> T_CONN_IND) and then discard the original message.

Random idea:

If msg_extractcred() freed the message it was passed, it would be harder
to use incorrectly and might actually work for all current use cases.  

Can we do that without making the code around it overly convoluted?

                                        - Bill




Reply via email to