git: 73d41cc73085 - main - if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 01 Dec 2021 14:58:59 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=73d41cc730858aa1fe273c36f3653afd16791091

commit 73d41cc730858aa1fe273c36f3653afd16791091
Author:     Zhenlei Huang <zlei.huang@gmail.com>
AuthorDate: 2021-12-01 14:54:23 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
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;