K 10 svn:author V 2 kp K 8 svn:date V 27 2022-05-04T12:51:46.548027Z K 7 svn:log V 694 libpfctl: grow request buffer on ENOSPC When we issue a request to pf and expect a serialised nvlist as a reply we have to supply a suitable buffer to the kernel. The required size for this buffer is difficult to predict, and may be (slightly) different from request to request. If it's insufficient the kernel will return ENOSPC. Teach libpfctl to catch this and send the request again with a larger buffer. MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D34908 (cherry picked from commit 7ed19f5c7780ebe9ec67121f0c5aa19fbc80bf1a) Git Hash: 7f55abdaa92ca06bd5eb6d3d321e776b9770f9c2 Git Author: kp@FreeBSD.org END