]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r344921:
authorkp <kp@FreeBSD.org>
Fri, 15 Mar 2019 11:01:52 +0000 (11:01 +0000)
committerkp <kp@FreeBSD.org>
Fri, 15 Mar 2019 11:01:52 +0000 (11:01 +0000)
commitb265a34a3dfdfc2bd429611e04b93e990aeb8400
tree29c25e97dab66dba201f2b27605649e9a6897d85
parentee8e7c6ae1f34cf2983123792b6d7342addd849d
MFC r344921:

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
sys/netpfil/pf/pf_ioctl.c