summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-06-28 00:25:00 +0300
committerDavid S. Miller <davem@davemloft.net>2024-07-01 11:40:36 +0300
commit66be40e622e177316ae81717aa30057ba9e61dff (patch)
tree0c19a8b90b55ff90c0b5ddedea3372acc7176e17 /tools/perf/scripts/python/gecko.py
parent134061163ee5ca4759de5c24ca3bd71608891ba7 (diff)
downloadlinux-66be40e622e177316ae81717aa30057ba9e61dff.tar.xz
tcp_metrics: validate source addr length
I don't see anything checking that TCP_METRICS_ATTR_SADDR_IPV4 is at least 4 bytes long, and the policy doesn't have an entry for this attribute at all (neither does it for IPv6 but v6 is manually validated). Reviewed-by: Eric Dumazet <edumazet@google.com> Fixes: 3e7013ddf55a ("tcp: metrics: Allow selective get/del of tcp-metrics based on src IP") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions