HomeFreeBSD

pf: do not block new Ethernet rules for in-progress transactions

Description

pf: do not block new Ethernet rules for in-progress transactions

Make Ethernet rule addition behave just like L3 rules, in that we now
allow ongoing transaction to be interrupted, rather than rejecting a new
one.

The result of that is that we can no longer end up in a state where a
transaction failed, but was not rolled back, blocking us from setting
new rules.

It's safe to assume there's no pending epoch callback for cleanup here,
because we've explicitly called it before hitting pf_begin_eth().

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 19 2022, 10:05 AM
Parents
rG2c1ac3d4d48a: nat64: fix whitespace damage in callout calls
Branches
Unknown
Tags
Unknown