Jeff Layton d6e971d8ec 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 <mgorman@suse.de>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-06-10 18:26:24 -04:00
..
2015-04-26 17:33:59 -07:00
2014-07-12 18:45:49 -04:00
2014-11-24 17:31:46 -05:00
2014-11-24 17:31:46 -05:00
2014-11-24 17:31:46 -05:00
2014-11-24 17:31:46 -05:00
2015-06-10 18:26:18 -04:00
2015-06-02 13:30:35 -04:00
2015-04-15 15:06:56 -04:00
2014-06-11 15:46:13 -07:00
2015-02-03 11:06:38 -08:00
2015-06-05 11:15:43 -04:00
2014-11-24 17:31:46 -05:00
2012-04-15 12:44:40 -04:00
2015-04-23 15:16:27 -04:00