From nobody Wed Dec 01 14:58:59 2021 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 2C0C518A6496; Wed, 1 Dec 2021 14:59:00 +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 4J42Kb5xkPz4vWd; Wed, 1 Dec 2021 14:58:59 +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 AC7313AE2; Wed, 1 Dec 2021 14:58:59 +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 1B1EwxeN039073; Wed, 1 Dec 2021 14:58:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B1EwxAH039072; Wed, 1 Dec 2021 14:58:59 GMT (envelope-from git) Date: Wed, 1 Dec 2021 14:58:59 GMT Message-Id: <202112011458.1B1EwxAH039072@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: 73d41cc73085 - main - if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH 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: 73d41cc730858aa1fe273c36f3653afd16791091 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638370739; 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=pjoZRtJNwMjiAZxVz0jGtuBMETaVb/BW6iqhFLSCT1E=; b=fOT2hWq8rPioRcFVlLzKx9Z3QMU2hBF2o0EDuZovxvZnHlzvlToLmjZPzxtRcCQY8SZuFn Db5tDYDB05nGIV0b4MYkHE7KNXCqq3Cvyqlh8pUz3hgeATzCN4UBP0XPfJrPr8kLfQBGcp d+9H57ehfqP1Sv02XaoQDNwuIAHXVI1urZXuWMY0sYURmwE1gDMslwYh+kBsPMaEygv53Q r/RchuY71GJJkMd0pSHMdihxlFeiEB7yuQ57fLdqfZ35llxQrZingkd3eYyKi82fSutRLF XxJLBs+zaxoplxSJYrU3IddTQIo2pjfzK2oSf1u/vFj6vE8JffZbH+CMLHH9Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638370739; a=rsa-sha256; cv=none; b=mS3BhxXNBRNhY23K0ciHb4rsDGjKtmxxBwgfpQkrqtq1k6snyoxQkZ7pK2A+jz++L7w4mF sRzwRXlDPiPS5oJ78FqZ6VFa9OHIsdMFMLMry2J9Kk895ojXbDsvU/DHz1UDZrmVqwXj68 nFDuqSu57kxScOAYAMmh67ByW8KJQLT2IDTkmKwDYze+S5BCqR2N1vanX4C5d4sSm+Y3St UuN6SJuhptZfI8HQgcbghJgkZecPOGBQW1Ai24TS7yP0RpczvZdnQA4CKV70ZUXB+bfS6b sre1Y2e5gq0EX0neJ9a9LmjiMZvIRmMFcSyH+4PkhXJmpVLoLksZlVeG42UIgQ== 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=73d41cc730858aa1fe273c36f3653afd16791091 commit 73d41cc730858aa1fe273c36f3653afd16791091 Author: Zhenlei Huang AuthorDate: 2021-12-01 14:54:23 +0000 Commit: Kristof Provost CommitDate: 2021-12-01 14:54:23 +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 --- 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 699d74ee4fb4..ff20107307ff 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -629,6 +629,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;