1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Fix LINT-VIMAGE build after r228814: use virtualized pf_pool_limits.

This commit is contained in:
Sergey Kandaurov 2011-12-24 00:23:27 +00:00
parent d42cc94633
commit da914858e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228855

View File

@ -1613,7 +1613,7 @@ pfsync_in_bus(struct pfsync_pkt *pkt, struct mbuf *m, int offset, int count)
case PFSYNC_BUS_START:
#ifdef __FreeBSD__
callout_reset(&sc->sc_bulkfail_tmo, 4 * hz +
pf_pool_limits[PF_LIMIT_STATES].limit /
V_pf_pool_limits[PF_LIMIT_STATES].limit /
((sc->sc_sync_if->if_mtu - PFSYNC_MINPKT) /
sizeof(struct pfsync_state)),
pfsync_bulk_fail, V_pfsyncif);