From nobody Sun Dec 12 18:11:47 2021 X-Original-To: dev-commits-src-branches@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 1E0F318C8547; Sun, 12 Dec 2021 18:11:48 +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 4JBt4z5WCxz3jsK; Sun, 12 Dec 2021 18:11:47 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9787825B14; Sun, 12 Dec 2021 18:11:47 +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 1BCIBlU4064921; Sun, 12 Dec 2021 18:11:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BCIBlq7064920; Sun, 12 Dec 2021 18:11:47 GMT (envelope-from git) Date: Sun, 12 Dec 2021 18:11:47 GMT Message-Id: <202112121811.1BCIBlq7064920@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: 5346a9a2e00f - stable/13 - if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 5346a9a2e00f4de9fb237507606870a425a89c01 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639332707; 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=jfMlW1AZcFB7T4aw/NgtVWPJbBUEZ4swfZRSf15uvjg=; b=ALgqnEmZN8/lJKwE0uK/ygxJn0b+SoQQP+LXUlzXo4T8eUlL1DJfcIoIycW3G1Q/Xd4wbU eAYZAsmiBo2pWhSNzSU5cuhiEC7U5NTHJ8ht/FISpbAMxM9AdtLVNvjq3tf3lM5S67g8Yh DgqjWRJbqyVHMlKEY9h6cvlTN4BkYIRTCxYjo9Jm3i46OWqw0j+f8IynUVtiXpAS7bGLme NE4IiXinR0Zinzh8WXi7cMzFJp6ea/jWQ2zUeL57E/sBj1RwBI7MUC3teWiV00Qve+OVZW BcBXcVQUqpAHxttfq+uVTPLhl+uBC+xhSWNSQkRodC9Rai5YRHKUs89vWJ7ZSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639332707; a=rsa-sha256; cv=none; b=ZxVOZndtzkKDinA8uzMJGNXlj6k71UuFLOkIncLT+GYknDdxyqC982rrcEGoPW4T3okoH1 4Q99iSbg0nEGxc3lHGtNp50pce8OYMA5IjiraXPoTlNUKFQIPynNZEw5h7mTd5vlJFFt0i qU/x06SNws8v0/0EZU0+y1Nk2O4NoOU4QwLyGLUrPZckqGsmLIpzqXzunKco1tMgfcDNv5 ld3bU+VXoUUaD16s5RjO+djUYHP00eYV2yzf6XU7H57cnG/r8LLS4FgUbywP+w4JrWakCV QAnh/L7fGpBeuwmcwrE5ArQeeBfRgaPvNUdFVWijGLgG2bR9EIYU5WPwJYVz1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=5346a9a2e00f4de9fb237507606870a425a89c01 commit 5346a9a2e00f4de9fb237507606870a425a89c01 Author: Zhenlei Huang AuthorDate: 2021-12-01 14:54:23 +0000 Commit: Kristof Provost CommitDate: 2021-12-11 09:38:17 +0000 if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D33210 (cherry picked from commit 73d41cc730858aa1fe273c36f3653afd16791091) --- sys/net/if_epair.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index 89483db46337..d15939dfe48b 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -625,6 +625,7 @@ epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) ifp->if_dname = epairname; ifp->if_dunit = unit; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; + ifp->if_flags |= IFF_KNOWSEPOCH; ifp->if_capabilities = IFCAP_VLAN_MTU; ifp->if_capenable = IFCAP_VLAN_MTU; ifp->if_start = epair_start;