git: 5346a9a2e00f - stable/13 - if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Sun, 12 Dec 2021 18:11:47 UTC
The branch stable/13 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5346a9a2e00f4de9fb237507606870a425a89c01

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