View | Details | Raw Unified | Return to bug 255878 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/netpfil/ipfw/dn_aqm_pie.c (-1 / +4 lines)
Lines 542-549 aqm_pie_enqueue(struct dn_queue *q, struct mbuf* m) Link Here
542
			mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS,
542
			mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS,
543
				sizeof(aqm_time_t), M_NOWAIT);
543
				sizeof(aqm_time_t), M_NOWAIT);
544
		if (mtag == NULL) {
544
		if (mtag == NULL) {
545
			update_stats(q, 0, 1);
546
			/* reset accu_prob after packet drop */
547
			pst->accu_prob = 0;
545
			m_freem(m); 
548
			m_freem(m); 
546
			t = DROP;
549
			return 1;
547
		}
550
		}
548
		*(aqm_time_t *)(mtag + 1) = AQM_UNOW;
551
		*(aqm_time_t *)(mtag + 1) = AQM_UNOW;
549
		m_tag_prepend(m, mtag);
552
		m_tag_prepend(m, mtag);

Return to bug 255878