Just created a pull request on ntirpc with the changes at
https://github.com/nfs-ganesha/ntirpc/pull/226. It seems just moving the check for msg len
below the rearm ought to do the trick and it did when I tested it but let me know if you
think it doesn't play nice with anything else in the code such as refcnt.
Thanks,
Anirban