Re: Issue found with kernel/net/sunrpc/xdr.c

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

 



On Wed, 2013-08-28 at 12:08 -0400, J. Bruce Fields wrote:
> On Wed, Aug 28, 2013 at 08:47:57AM -0700, Matt Craighead wrote:
> > NFSv3 over UDP.  No Kerberos or any other authentication of any sort.
> 
> Trond, shouldn't the size of the RPC header be entirely predictable in
> this case?  I wonder why it was getting to xdr_shrink_bufhead.

NFSv3 post-op attributes are optional to return, so while the RPC header
may be completely predictable, the NFS reply payload before a READ or
READDIR call to xdr_read_pages() is not.

Cheers,
  Trond

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[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