[Click] Writable packet

Eddie Kohler kohler at cs.ucla.edu
Tue Jun 30 19:35:08 EDT 2009


No, don't call p_in->kill().  p_in is effectively no longer an object.

E


Yogesh Mundada wrote:
> Hi,
> 
> Packet::uniqueify() says that "The returned WritablePacket pointer may
> not equal the input Packet pointer, so do not use the input pointer
> after the uniqueify() call".
> In that case are we required to call p_in->kill()?
> In typical usage, I did not see p_in->kill() being called.
> 
> -Yogesh
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list