From a056e3eb9dc6d5d865e414b612dbbe7e79c49418 Mon Sep 17 00:00:00 2001 From: mpi Date: Tue, 20 May 2014 11:03:13 +0000 Subject: [PATCH] Assign the queue ID to the correct packet header when sending ICMP messages. ok henning@ --- sys/net/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/pf.c b/sys/net/pf.c index 50bd84e6fe9..45be0738e70 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.877 2014/04/24 11:55:12 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.878 2014/05/20 11:03:13 mpi Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2464,7 +2464,7 @@ pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af, if (r && (r->scrub_flags & PFSTATE_SETPRIO)) m0->m_pkthdr.pf.prio = r->set_prio[0]; if (r && r->qid) - m->m_pkthdr.pf.qid = r->qid; + m0->m_pkthdr.pf.qid = r->qid; switch (af) { #ifdef INET -- 2.20.1