aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-08-04 14:07:39 +0000
committerDavid S. Miller <[email protected]>2011-08-05 03:31:03 -0700
commit98382f419f32d2c12d021943b87dea555677144b (patch)
treed07b99ec8eec119b53ddc2223de9027d7a8c0263 /tools/perf/util/scripting-engines/trace-event-python.c
parent728ffb86f10873aaf4abd26dde691ee40ae731fe (diff)
net: Cap number of elements for sendmmsg
To limit the amount of time we can spend in sendmmsg, cap the number of elements to UIO_MAXIOV (currently 1024). For error handling an application using sendmmsg needs to retry at the first unsent message, so capping is simpler and requires less application logic than returning EINVAL. Signed-off-by: Anton Blanchard <[email protected]> Cc: stable <[email protected]> [3.0+] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions