HomeFreeBSD

pf: Fix DIOCGETSRCNODES

Description

pf: Fix DIOCGETSRCNODES

r343295 broke DIOCGETSRCNODES by failing to reset 'nr' after counting the
number of source tracking nodes.
This meant that we never copied the information to userspace, leading to '? ->
?' output from pfctl.

PR: 236368
MFC after: 1 week

Details

Provenance
kpAuthored on
Parents
rS344920: Teardown ifnet after stopping port in the mlx4en(4) driver.
Branches
Unknown
Tags
Unknown