|author||Guy Harris <firstname.lastname@example.org>||2018-12-26 12:35:42 -0800|
|committer||Guy Harris <email@example.com>||2018-12-26 21:03:59 +0000|
Don't allocate per-frame data if we don't have an F5 trailer.
The F5 trailer dissector is called before the taps are called, so there is no reason why the taps should attach information to the frame if there isn't any information attached - if there's an F5 trailer, there will be information attached to the frame, so there's no need to attach one, and if there's no F5 trailer, there's no analysis to be done, so there's no need to attach one. That way, we don't waste memory that we aren't going to use (about 100MB for a large capture I have that has almost 3 million packets). Change-Id: I471b6c9b0fc6eb36f3aff35d6fba2f73c3a0eb90 Ping-Bug: 15385 Reviewed-on: https://code.wireshark.org/review/31210 Petri-Dish: Guy Harris <firstname.lastname@example.org> Reviewed-by: Michael Mann <email@example.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <firstname.lastname@example.org>
Diffstat (limited to 'tshark.c')
0 files changed, 0 insertions, 0 deletions