net: nfs: fix the regression when nfs_read_reply() is called
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2017 10:39:51 +0000 (19:39 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:38 +0000 (13:38 +0900)
commitd578f9bf0b338d47a7e1c88ca7a36da2a1f0e141
tree7a74aca139d83bb1a6198ca9c50b23297599e2d7
parentf7b5bfc15a103d7c270ab5efd7c99abd17c62fcb
net: nfs: fix the regression when nfs_read_reply() is called

When nfs_read_reply() is called, it should be stucked in memcpy().
size of rpc_pkt.u.reply() might be too bigger.
Change from 'sizeof(rpc_pkt.u.reply)' to 'len'.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
net/nfs.c