aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2020-08-26 00:52:42 +0200
committerPablo Neira Ayuso <[email protected]>2020-08-28 19:51:25 +0200
commitb1328e54ac5e5998b9f7d5735029f7e64e61b488 (patch)
tree3e372fc4eb6ca7d77b6e301884df3a8ca14a149d /tools/perf/scripts/python/bin/stackcollapse-report
parent7a81575b806e5dab214025e6757362c62d946405 (diff)
netfilter: conntrack: do not increment two error counters at same time
The /proc interface for nf_conntrack displays the "error" counter as "icmp_error". It makes sense to not increment "invalid" when failing to handle an icmp packet since those are special. For example, its possible for conntrack to see partial and/or fragmented packets inside icmp errors. This should be a separate event and not get mixed with the "invalid" counter. Likewise, remove the "error" increment for errors from get_l4proto(). After this, the error counter will only increment for errors coming from icmp(v6) packet handling. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions