aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2015-06-03 16:14:28 -0400
committerTrond Myklebust <[email protected]>2015-06-10 18:26:24 -0400
commitd6e971d8ecafee18ff9cc1ac646eb0817ab8b143 (patch)
treed1a2a975cee7cbe10258081e2a2a781a95d15a8f /tools/perf/util/scripting-engines/trace-event-perl.c
parent264d1df3b34804a7d440d77771020f616a573528 (diff)
sunrpc: lock xprt before trying to set memalloc on the sockets
It's possible that we could race with a call to xs_reset_transport, in which case the xprt->inet pointer could be zeroed out while we're accessing it. Lock the xprt before we try to set memalloc on it. Cc: Mel Gorman <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions