K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2021-11-17T01:48:03.788104Z K 7 svn:log V 654 nfscl: Fix use after free for forced dismount When a forced dismount is done and delegations are being issued by the server (disabled by default for FreeBSD servers), the delegation structure is free'd before the loop calling vflush(). This could result in a use after free of the delegation structure. This patch changes the code so that the delegation structures are not free'd until after the vflush() loop for forced dismounts. Found during a recent IETF NFSv4 working group testing event. (cherry picked from commit 441222585968517c595ef7f39e5c71a42d238acd) Git Hash: 04c2ce41e3fcdef045eeea9f338f6b0eb547f64d Git Author: rmacklem@FreeBSD.org END