diff options
| author | Matteo Croce <mcroce@redhat.com> | 2019-11-02 03:12:04 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-11-06 01:03:11 +0300 |
| commit | 54074f1dbd6fbc0f0a085a54f3297ae26e424d59 (patch) | |
| tree | 92febdbde61f84d4ff24efe5db7520126522be56 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 15122464d525f684a61806d28597050cdcef0f32 (diff) | |
| download | linux-54074f1dbd6fbc0f0a085a54f3297ae26e424d59.tar.xz | |
icmp: remove duplicate code
The same code which recognizes ICMP error packets is duplicated several
times. Use the icmp_is_err() and icmpv6_is_err() helpers instead, which
do the same thing.
ip_multipath_l3_keys() and tcf_nat_act() didn't check for all the error types,
assume that they should instead.
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
