]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340068:
authorkp <kp@FreeBSD.org>
Sun, 18 Nov 2018 12:30:18 +0000 (12:30 +0000)
committerkp <kp@FreeBSD.org>
Sun, 18 Nov 2018 12:30:18 +0000 (12:30 +0000)
commitb9e7adb089941e69666d6ea3ca75f7564e1b4a8d
treec39fd32c9491f87be392cdf84a0ed690bb76366d
parentce1ea11236e87d527dc8ef5accce52be6c552a14
MFC r340068:

pfsync: Handle syncdev going away

If the syncdev is removed we no longer need to clean up the multicast
entry we've got set up for that device.

Pass the ifnet detach event through pf to pfsync, and remove our
multicast handle, and mark us as no longer having a syncdev.

Note that this callback is always installed, even if the pfsync
interface is disabled (and thus it's not a per-vnet callback pointer).

Sponsored by: Orange Business Services
sys/net/pfvar.h
sys/netpfil/pf/if_pfsync.c
sys/netpfil/pf/pf_if.c
sys/netpfil/pf/pf_ioctl.c