aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-05-13 11:33:58 -0700
committerDavid S. Miller <[email protected]>2022-05-16 10:18:55 +0100
commit34b92e8d19da1e44070dc0ecc2747871469ac534 (patch)
treee2d4b9e60646f8b896c6cad40324196c0cc17f94 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7c4e983c4f3cf94fcd879730c6caa877e0768a4d (diff)
net: limit GSO_MAX_SIZE to 524280 bytes
Make sure we will not overflow shinfo->gso_segs Minimal TCP MSS size is 8 bytes, and shinfo->gso_segs is a 16bit field. TCP_MIN_GSO_SIZE is currently defined in include/net/tcp.h, it seems cleaner to not bring tcp details into include/linux/netdevice.h Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Alexander Duyck <[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