Comment # 7
on bug 7060
from Guy Harris
(In reply to comment #6)
> For the cases in this bug at least, why can't we use p_add_proto_data and
> p_get_proto_data with ep_ allocated data? Unless I'm missing something, they
> are only being used in packet scope?
p_add_proto_data() is supposed to add *session*-scope data to a packet; if you
aren't going to need it to dissect the packet in question in the future, you
don't need to add it, and if you *are* going to need it to dissect the packet
in question in the future, it has to stay around as long as you have the
capture in question open.
There is no reason whatsoever to attach packet-scope data to a packet.
You are receiving this mail because:
- You are watching all bug changes.