net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 14 May 2018 15:34:36 +0000 (08:34 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:16 +0000 (13:54 -0500)
commitd48d40a09127dfcb1f073c3e44de4b858393ae9e
tree47a1aa80f22d3ff9b0a5bbea8e9d285d7805379c
parent286bea2e85a73602624b8dc05dd0dfac8e7e4263
net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP

That can happen if duplicate UDP packet arrived, and that's not uncommon.
Anyway, we ignore packets with rpc_id lower than last we sent for other
requests, so it makes sense to do that for read request as well.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/nfs.c