Re: [PATCH v2 3/3] SUNRPC: Ensure we refresh the bvec after RPCSEC_GSS encoding

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

 




> On Nov 30, 2018, at 4:37 PM, Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> wrote:
> 
> On Fri, 2018-11-30 at 16:32 -0500, Chuck Lever wrote:
>>> 
>> I actually had a patch that looked exactly like yours (except for the
>> description text). It didn't seem to do anything. So there may be an
>> issue here, but I don't believe I'm seeing it with my reproducer.
>> 
> 
> Argh... Yes, I was too quick off the trigger. The call to
> xdr_buf_init() in rpc_xdr_encode() will actually clobber the ->bvec
> array...

Duh. That sounds very plausible!


--
Chuck Lever







[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