From nobody Fri May 06 15:42:15 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A985F1AC8A01; Fri, 6 May 2022 15:42:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KvvvW4N69z3lqD; Fri, 6 May 2022 15:42:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651851735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=99FqjfH206arEaIroS3dFy8td0QTegO8ooElHI6WJPo=; b=ghUyWq0DapYjzbdNnOMgZMkN85iuH/hcu+EmuE93bErPxMeFIxzVoVOLj8HTRz+tQwmoNF 6tPrxwGYo1y1kwyIi3x+Vqz6bAXWdOpTeYOkQ5K1hU6VWkOuqcHAvAn0DlTg2DpPusFuuF 4B1Tla7OqdQwuiV1xXFxhXdhd/YOOY5jjUK2W9nvjlonmaMOCyERoiKSOLT1R07jBoAuaP dQGRIZyVgoEi+4LM9ohKQUcL3a/noStdHAS5F1qpajIGg9nYWWPiKSqPOLFt5xm0wlIydL BD6gF4Sjw1LOZjflST/8B33NxoSo42+Rsxy6vXsk+F6Y+IIjIHPtwlVl1EVkUA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 76A2F1E7CB; Fri, 6 May 2022 15:42:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 246FgFwf050217; Fri, 6 May 2022 15:42:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246FgFZB050216; Fri, 6 May 2022 15:42:15 GMT (envelope-from git) Date: Fri, 6 May 2022 15:42:15 GMT Message-Id: <202205061542.246FgFZB050216@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: c530c80ef22e - main - pf: fix reverse direction dummynet List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c530c80ef22eee3778e649add4920e83cc4b1af7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651851735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=99FqjfH206arEaIroS3dFy8td0QTegO8ooElHI6WJPo=; b=FbEpwSOVr3zYR2na4Izop7i6N5dba5GgUG64VXNrwyV1mP6Nn129Ak8eJyzzdBNW2710U5 LtOvEPTeAtzYaeAT2PY4phepHsvtNyO2/ocLAIgtKPnIGUURMjV/ShiFIPEF3Pq2AnkRga h6MmHYvzqHzjdmW637PfqvNZq5MsnTw6pbHNnP2i3Nf+6lgHzLv4kiZOZoqkvaGguFdmSC nklvlV4n6ZQ69UKQsLrEY6z0kfLxKjesAq/QORe3oeV8f4EHJGOEhSdqi2ytilqQSZhx5b iMVzap/Oivb8UHi4OkMbf3F0sGnTiHhxyPDbQ30ZHo4xga63we3WRqG97cTufQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651851735; a=rsa-sha256; cv=none; b=rZIqW54aUa5QX3KnS/7HsP2Lwa4RrreAzL8Kjsj+ANZ+pBx5x6kOLXyFanXzvW2HVdVOcu LhmnjH3MZIpg8TQxHzM6mnZ+5nScRstbss2iztW/LERv8wgzXybAiubFNbp0nwrJHfTeNS HvzZt0TQhmQ18N7f8mJo7NwEiXjvlbIOPi2NUjFwvwWR28chviF/z+5IrA9C3p8ZaC295O hyZcEGbAeenShDLyUa82MkqEHen8ujvDWqx3j2ovqufR9cHPjOp6YHcNTaau5XlGyej3Oc GNekbZR1w02Ee2x6r4ugvBuZ9ueQ6oVM0ADZTHN4gqCgcd9N8A2yiNQ5eNXwfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=c530c80ef22eee3778e649add4920e83cc4b1af7 commit c530c80ef22eee3778e649add4920e83cc4b1af7 Author: Kristof Provost AuthorDate: 2022-05-06 12:37:07 +0000 Commit: Kristof Provost CommitDate: 2022-05-06 12:37:07 +0000 pf: fix reverse direction dummynet Due to a typo dnrpipe (i.e. the pipe for reverse direction traffic) was nevern assigned, preventing it from working correctly. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index b0d8d8c6e017..52ee54cd90af 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -3576,7 +3576,7 @@ pf_rule_to_actions(struct pf_krule *r, struct pf_rule_actions *a) if (r->dnpipe) a->dnpipe = r->dnpipe; if (r->dnrpipe) - a->dnpipe = r->dnrpipe; + a->dnrpipe = r->dnrpipe; if (r->free_flags & PFRULE_DN_IS_PIPE) a->flags |= PFRULE_DN_IS_PIPE; }