Use goto fail consistently to leave the giant switch in pfioctl().
authorbluhm <bluhm@openbsd.org>
Wed, 23 Mar 2022 17:36:09 +0000 (17:36 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 23 Mar 2022 17:36:09 +0000 (17:36 +0000)
commit462999584ca2e6a5e3e6d713e8765d4bdce7ac22
tree627f97ac180f2b1ed382819a9f4aadb6f76426b5
parent00559dfc2c220d1e1d8bf6973c02ff43e00afea9
Use goto fail consistently to leave the giant switch in pfioctl().
To terminate inner switches and loops, break is used.  This makes
it easier to reason whereto the code jumps.
no binary change; OK millert@ sashan@
sys/net/pf_ioctl.c