Re: [PATCH 08/13] SUNRPC: Add API to acquire source address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 15, 2012, at 5:12 PM, Malahal Naineni wrote:

> Chuck Lever [chuck.lever@xxxxxxxxxx] wrote:
>> +	rcu_read_lock();
>> +	xprt = rcu_dereference(clnt->cl_xprt);
>> +	salen = xprt->addrlen;
>> +	memcpy(sap, &xprt->addr, salen);
>> +	net = get_net(xprt->xprt_net);
>> +	rcu_read_unlock();
> 
> Did I miss a patch that made cl_xprt go away unless accessed under RCU?

Malahal, I re-ordered these so the series includes only clean ups.  The RCU patch is now later.

Trond, would you like me to include the cl_xprt RCU patches in this "for 3.4" series too?  If not, I can rework this hunk.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux