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

(-)b/sys/netpfil/ipfw/dn_aqm_codel.c (-2 / +3 lines)
Lines 258-264 aqm_codel_enqueue(struct dn_queue *q, struct mbuf *m) Link Here
258
			sizeof(aqm_time_t), M_NOWAIT);
258
			sizeof(aqm_time_t), M_NOWAIT);
259
	if (mtag == NULL) {
259
	if (mtag == NULL) {
260
		m_freem(m); 
260
		m_freem(m); 
261
		goto drop;
261
		goto out;
262
	}
262
	}
263
263
264
	*(aqm_time_t *)(mtag + 1) = AQM_UNOW;
264
	*(aqm_time_t *)(mtag + 1) = AQM_UNOW;
Lines 269-276 aqm_codel_enqueue(struct dn_queue *q, struct mbuf *m) Link Here
269
	return (0);
269
	return (0);
270
270
271
drop:
271
drop:
272
	update_stats(q, 0, 1);
273
	FREE_PKT(m);
272
	FREE_PKT(m);
273
out:
274
	update_stats(q, 0, 1);
274
	return (1);
275
	return (1);
275
}
276
}
276
277

Return to bug 255875