X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..8a3053a07cee346dca737a5670e546fd26a7c9d6:/bsd/net/classq/classq.c diff --git a/bsd/net/classq/classq.c b/bsd/net/classq/classq.c index 92b76007f..3d9d324ae 100644 --- a/bsd/net/classq/classq.c +++ b/bsd/net/classq/classq.c @@ -144,7 +144,7 @@ _getq_flow(class_queue_t *q, u_int32_t flow) MBUFQ_FOREACH_SAFE(m, &q->mbufq, m_tmp) { if (flow == 0 || ((m->m_flags & M_PKTHDR) && - m->m_pkthdr.m_flowhash == flow)) { + m->m_pkthdr.pkt_flowid == flow)) { /* remove it from the class queue */ MBUFQ_REMOVE(&q->mbufq, m); MBUFQ_NEXT(m) = NULL; @@ -331,7 +331,7 @@ _flushq_flow(class_queue_t *q, u_int32_t flow, u_int32_t *cnt, u_int32_t *len) MBUFQ_FOREACH_SAFE(m, &q->mbufq, m_tmp) { if (flow == 0 || ((m->m_flags & M_PKTHDR) && - m->m_pkthdr.m_flowhash == flow)) { + m->m_pkthdr.pkt_flowid == flow)) { /* remove it from the class queue */ MBUFQ_REMOVE(&q->mbufq, m); MBUFQ_NEXT(m) = NULL;