From da914858e19c90b60e6ed777681fa98750cf9e99 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Sat, 24 Dec 2011 00:23:27 +0000 Subject: [PATCH] Fix LINT-VIMAGE build after r228814: use virtualized pf_pool_limits. --- sys/contrib/pf/net/if_pfsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/pf/net/if_pfsync.c b/sys/contrib/pf/net/if_pfsync.c index 7699e904be77..29851be03e73 100644 --- a/sys/contrib/pf/net/if_pfsync.c +++ b/sys/contrib/pf/net/if_pfsync.c @@ -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);