By simply changing the do-while loop into a plain while loop. Signed-off-by: David S. Miller <davem@davemloft.net>