diff options
author | Matteo Croce <[email protected]> | 2019-10-29 14:50:51 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-30 17:21:35 -0700 |
commit | 3b336d6f4ec690b0082bcffe55bac22f234a41ff (patch) | |
tree | bedc154ea4528ee99b1376f57007747cbec05190 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 98298e6ca6d5908f96e529e70a254a4d5bf754e7 (diff) |
flow_dissector: skip the ICMP dissector for non ICMP packets
FLOW_DISSECTOR_KEY_ICMP is checked for every packet, not only ICMP ones.
Even if the test overhead is probably negligible, move the
ICMP dissector code under the big 'switch(ip_proto)' so it gets called
only for ICMP packets.
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions