Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net/lagg lagg(4): remove duplicated bpf_mtap



details:   https://anonhg.NetBSD.org/src/rev/60839d77fd5e
branches:  trunk
changeset: 364595:60839d77fd5e
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Mar 31 01:57:13 2022 +0000

description:
lagg(4): remove duplicated bpf_mtap

diffstat:

 sys/net/lagg/if_lagg.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 1d11bb46b111 -r 60839d77fd5e sys/net/lagg/if_lagg.c
--- a/sys/net/lagg/if_lagg.c    Thu Mar 31 01:53:22 2022 +0000
+++ b/sys/net/lagg/if_lagg.c    Thu Mar 31 01:57:13 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_lagg.c,v 1.36 2022/03/31 01:53:22 yamaguchi Exp $   */
+/*     $NetBSD: if_lagg.c,v 1.37 2022/03/31 01:57:13 yamaguchi Exp $   */
 
 /*
  * Copyright (c) 2005, 2006 Reyk Floeter <reyk%openbsd.org@localhost>
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.36 2022/03/31 01:53:22 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.37 2022/03/31 01:57:13 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1094,7 +1094,6 @@
                return NULL;
        }
 
-       bpf_mtap((struct ifnet *)&sc->sc_if, m, BPF_D_IN);
        pr = var->lv_proto;
 
        if (lagg_protos[pr].pr_input != NULL) {



Home | Main Index | Thread Index | Old Index