path: root/epan/dissectors/packet-sua.c
diff options
authorGuy Harris <guy@alum.mit.edu>2018-12-26 12:35:42 -0800
committerGuy Harris <guy@alum.mit.edu>2018-12-26 21:03:59 +0000
commitc3a7986b86f5355e6bd1791f70b78c91bcdac247 (patch)
tree23dd944514f5ea3ccda3bf2a5521685708ac07fd /epan/dissectors/packet-sua.c
parent52d22b25ab5ed51d2899dc22517d9cf0361faa58 (diff)
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 <guy@alum.mit.edu> Reviewed-by: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-sua.c')
0 files changed, 0 insertions, 0 deletions