On Thu, Mar 09, 2017 at 12:42:43PM +0100, Martin Pieuchot wrote:
> On 09/03/17(Thu) 08:48, Stefan Sperling wrote:
> > This diff converts a struct ifnet pointer in pfsync's softc into an
> > ifindex with corresponding if_get()/if_put() calls.
>
> This avoid the panic but obfuscate the problem. Wha
On 09/03/17(Thu) 08:48, Stefan Sperling wrote:
> This diff converts a struct ifnet pointer in pfsync's softc into an
> ifindex with corresponding if_get()/if_put() calls.
This avoid the panic but obfuscate the problem. What you want is a
detachhook such that if the parent interface is destroyed y
This diff converts a struct ifnet pointer in pfsync's softc into an
ifindex with corresponding if_get()/if_put() calls.
Seems to still work fine and fixes the following panic reported by double-p:
ifconfig pfsync0 syncdev vlan5 up
ifconfig vlan5 destroy
ifconfig pfsync0 destroy
-> crash because o