aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorEric B Munson <[email protected]>2015-05-18 14:35:58 -0400
committerDavid S. Miller <[email protected]>2015-05-19 16:33:34 -0400
commitaea0929e516a1ff4c4458203d1f3375eee9acc26 (patch)
treedd499751b35707afda3144e78261f710b34671e6 /tools/perf/scripts/python/syscall-counts.py
parentc9a70d43461d83818825ae065bb8fc887421e150 (diff)
tcp: Return error instead of partial read for saved syn headers
Currently the getsockopt() requesting the cached contents of the syn packet headers will fail silently if the caller uses a buffer that is too small to contain the requested data. Rather than fail silently and discard the headers, getsockopt() should return an error and report the required size to hold the data. Signed-off-by: Eric B Munson <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Alexey Kuznetsov <[email protected]> Cc: James Morris <[email protected]> Cc: Hideaki YOSHIFUJI <[email protected]> Cc: Patrick McHardy <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions