diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2011-04-04 14:16:49 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2011-04-04 14:16:49 +0000 |
commit | da2e61bc25cb2737ac250d73683635a26f28aaab (patch) | |
tree | fb31aeb16b7d1a016c3ff2533c923594c4fc4716 /sys | |
parent | aabbe2fa8d6e52ed6603d959dd1c9411236cdcc5 (diff) |
and stop special casing the bridge for the ip cksum hardware offload
decision here too, just like in ip_output, pointless.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index a3b0eb3091c..1a49c0a449d 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.731 2011/04/04 14:00:16 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.732 2011/04/04 14:16:48 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -5167,8 +5167,7 @@ pf_route(struct mbuf **m, struct pf_rule *r, int dir, struct ifnet *oifp, if (ntohs(ip->ip_len) <= ifp->if_mtu) { ip->ip_sum = 0; - if ((ifp->if_capabilities & IFCAP_CSUM_IPv4) && - ifp->if_bridge == NULL) { + if (ifp->if_capabilities & IFCAP_CSUM_IPv4) { m0->m_pkthdr.csum_flags |= M_IPV4_CSUM_OUT; ipstat.ips_outhwcsum++; } else |