nfs: Fix polling for packets
It can happen that the first packet we receive is not the desired one.
In this case we have to poll for further packets. set nfs_state back to
STATE_START before polling for more packets, otherwise we check the same
packet again and again.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d8d36e5 commit 5473abac14fdb1ba1cd4599175a1ac17bd5ee3d1
@Sascha Hauer Sascha Hauer authored on 30 Mar 2020
Showing 1 changed file
View
fs/nfs.c