View | Details | Raw Unified | Return to bug 273198
Collapse All | Expand All

(-)b/sys/netpfil/pf/pf.c (+7 lines)
Lines 8082-8087 pf_test(int dir, int pflags, struct ifnet *ifp, struct mbuf **m0, Link Here
8082
	pd.af = AF_INET;
8082
	pd.af = AF_INET;
8083
	pd.act.rtableid = -1;
8083
	pd.act.rtableid = -1;
8084
8084
8085
	if (m->m_len < sizeof(struct ip) &&
8086
	    (m = *m0 = m_pullup(*m0, sizeof(struct ip))) == NULL) {
8087
		DPFPRINTF(PF_DEBUG_URGENT,
8088
		    ("pf_test: m_len < sizeof(struct ip), pullup failed\n"));
8089
		PF_RULES_RUNLOCK();
8090
		return (PF_DROP);
8091
	}
8085
	h = mtod(m, struct ip *);
8092
	h = mtod(m, struct ip *);
8086
	off = h->ip_hl << 2;
8093
	off = h->ip_hl << 2;
8087
8094

Return to bug 273198