mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
0578fe4922
If pf_icmp_state_lookup() finds a state but rejects it for not matching the expected direction we should unlock the state (and NULL out *state). This simplifies life for callers, and also ensures there's no confusion about what a non-NULL returned state means. Previously it could have been left in there by the caller, resulting in callers unlocking the same state twice. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") |
||
---|---|---|
.. | ||
ipfilter/netinet | ||
ipfw | ||
pf |