HomeFreeBSD

pfsync: Handle syncdev going away

Description

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).

MFC after: 2 weeks
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D17502

Details

Provenance
kpAuthored on
Differential Revision
D17502: pfsync: Handle syncdev going away
Parents
rS340067: pfsync: Ensure uninit is done before pf
Branches
Unknown
Tags
Unknown