diff options
author | Xin Long <[email protected]> | 2020-10-29 15:04:55 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-30 15:23:33 -0700 |
commit | d26796ae589401d209f63f462d5aee3746f3c51e (patch) | |
tree | 4fc33ace0c7c3ffed5b09d70fa908d4c28adf921 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1fb74191988fd1cc340c4b2fdaf4c47d2a7d1d17 (diff) |
udp: check udp sock encap_type in __udp_lib_err
There is a chance that __udp4/6_lib_lookup() returns a udp encap
sock in __udp_lib_err(), like the udp encap listening sock may
use the same port as remote encap port, in which case it should
go to __udp4/6_lib_err_encap() for more validation before
processing the icmp packet.
This patch is to check encap_type in __udp_lib_err() for the
further validation for a encap sock.
Signed-off-by: Xin Long <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions