summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2012-11-27 19:31:49 +0000
committerandre <andre@FreeBSD.org>2012-11-27 19:31:49 +0000
commitcd840ea089c3546a5cd705044efba4e7ec8621e7 (patch)
treeda7bee092c59e24104ada1cb0bc5808ffab3eacf /sys/net/if_vlan.c
parent8f5ba051dc5efdc3f379bbfc3acf53cd1e11e5f3 (diff)
downloadFreeBSD-src-cd840ea089c3546a5cd705044efba4e7ec8621e7.zip
FreeBSD-src-cd840ea089c3546a5cd705044efba4e7ec8621e7.tar.gz
Remove unused and unnecessary CSUM_IP_FRAGS checksumming capability.
Checksumming the IP header of fragments is no different from doing normal IP headers. Discussed with: yongari MFC after: 1 week
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 379a59b..70ea3ae 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1493,7 +1493,7 @@ vlan_capabilities(struct ifvlan *ifv)
p->if_capenable & IFCAP_VLAN_HWTAGGING) {
ifp->if_capenable = p->if_capenable & IFCAP_HWCSUM;
ifp->if_hwassist = p->if_hwassist & (CSUM_IP | CSUM_TCP |
- CSUM_UDP | CSUM_SCTP | CSUM_IP_FRAGS | CSUM_FRAGMENT);
+ CSUM_UDP | CSUM_SCTP | CSUM_FRAGMENT);
} else {
ifp->if_capenable = 0;
ifp->if_hwassist = 0;
OpenPOWER on IntegriCloud