Clean up divert_packet(). Function does not return error, make it
authorbluhm <bluhm@openbsd.org>
Thu, 5 May 2022 16:44:22 +0000 (16:44 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 5 May 2022 16:44:22 +0000 (16:44 +0000)
commit37b541b9fa24c6abff9c48e6d61b07889687c1a8
treecba4af8e5f62f9db7b02bd1637a538dcbb02a89a
parent2ca4f1a3e95e41fd41a83db714d86c11b47dc7cd
Clean up divert_packet().  Function does not return error, make it
void.  Introduce mutex and refcounting for inp like in the other
PCB functions.
OK sashan@
sys/net/pf.c
sys/netinet/ip_divert.c
sys/netinet/ip_divert.h
sys/netinet6/ip6_divert.c
sys/netinet6/ip6_divert.h