On Tue, May 15, 2018 at 11:37:56AM +0200, Phil Sutter wrote: > The initial approach of keeping as much of lex/yacc-specific data > local to the relevant parsing routines was flawed in that input > descriptors which parsed commands' location information points at were > freed after parsing (in scanner_destroy()) although they were required > later for error reporting in case a command was rejected by the kernel. > > To overcome this, keep the scanner pointer in struct nft_ctx so that it > can be kept in place until kernel communication has finished.
Applied, thanks Phil. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html