]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: remove DIOCGETSTATESNV
authorKristof Provost <kp@FreeBSD.org>
Tue, 6 Jul 2021 11:13:24 +0000 (13:13 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 6 Aug 2021 07:11:45 +0000 (09:11 +0200)
commitb701c27bf05fc68a0f52dc10f23e28b2ec8a380c
tree608e1b0ecf7166da3beb9a354e51e9c349b949ee
parentf7c5c21f159ffd535c251a0052b5e8a2bc3b5b67
pf: remove DIOCGETSTATESNV

While nvlists are very useful in maximising flexibility for future
extensions their performance is simply unacceptably bad for the
getstates feature, where we can easily want to export a million states
or more.

The DIOCGETSTATESNV call has been MFCd, but has not hit a release on any
branch, so we can still remove it everywhere.

Reviewed by: mjg
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31099

(cherry picked from commit b69019c14cd89a5e699bc6e69941aec5b1041b1e)
sys/net/pfvar.h
sys/netpfil/pf/pf_ioctl.c