summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sk.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2005-05-17 19:18:19 +0000
committerJason Wright <jason@cvs.openbsd.org>2005-05-17 19:18:19 +0000
commit4db26ac36a272c9fce4ea7a6a46d35d9695bd51f (patch)
tree9788741a1cf6bfa496fa6ea9afbb5757c932e629 /sys/dev/pci/if_sk.c
parentef9da74a3a85403b02a5cccc664dd784d8fd4279 (diff)
remove spurious bpf_mtap (I think it's leftover debugging code from a year ago)
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r--sys/dev/pci/if_sk.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 9c0d1113937..15627140236 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.66 2005/05/16 13:47:02 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.67 2005/05/17 19:18:18 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1964,11 +1964,8 @@ sk_rxcsum(struct ifnet *ifp, struct mbuf *m, const u_int16_t csum1, const u_int1
} else
ipd_csum = csum2;
- if (iph_csum != 0xffff) {
- if (ifp->if_bpf)
- bpf_mtap(ifp->if_bpf, m);
+ if (iph_csum != 0xffff)
return;
- }
m->m_pkthdr.csum_flags |= M_IPV4_CSUM_IN_OK;
if (ip->ip_off & htons(IP_MF | IP_OFFMASK))