Skip to content

fix getdevice{info,list} xdr decode sizing

Benny Halevy linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SQUASHME: pnfs-submit: fix getdeviceinfo decode sizingfs/nfs/nfs4xdr.c+10 -140 replies
2/2SQUASHME: pnfs-submit: fix getdevicelist decode sizingfs/nfs/nfs4xdr.c+10 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fix getdevice{info,list} xdr decode sizing

looks like encode_getdevice{info,list} went under the radar and they do not update hdr->replen.

decode_getdeviceinfo_maxsz was completely screwed up so that twas fixed along with the replen calculation for the deviceinfo's xdr_inline_pages.