Improve error handling and recovery during state insertion
authormikeb <mikeb@openbsd.org>
Fri, 5 Jun 2015 13:22:34 +0000 (13:22 +0000)
committermikeb <mikeb@openbsd.org>
Fri, 5 Jun 2015 13:22:34 +0000 (13:22 +0000)
commit38a4091055dfd9bc6c116880ee56dcf17cff10bd
treeb09406b2afbc20973fc39d3174d1e3b4b0421a32
parent6db6635db89540ff9cebb8b4ea15a050e1cb3b9c
Improve error handling and recovery during state insertion

Reshuffle the code around a bit and greatly improve error handling
fixing a few bugs along the way.

Problem reported by and fix was written with Alexandr Nedvedicky.
OK henning
sys/net/pf.c
sys/net/pfvar.h