Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141125135
D10356.id27361.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
900 B
Referenced Files
None
Subscribers
None
D10356.id27361.diff
View Options
Index: head/sys/net/if_vlan.c
===================================================================
--- head/sys/net/if_vlan.c
+++ head/sys/net/if_vlan.c
@@ -1555,13 +1555,16 @@
* offloading requires hardware VLAN tagging.
*/
if (p->if_capabilities & IFCAP_VLAN_HWCSUM)
- ifp->if_capabilities = p->if_capabilities & IFCAP_HWCSUM;
+ ifp->if_capabilities =
+ p->if_capabilities & (IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6);
if (p->if_capenable & IFCAP_VLAN_HWCSUM &&
p->if_capenable & IFCAP_VLAN_HWTAGGING) {
- ifp->if_capenable = p->if_capenable & IFCAP_HWCSUM;
+ ifp->if_capenable =
+ p->if_capenable & (IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6);
ifp->if_hwassist = p->if_hwassist & (CSUM_IP | CSUM_TCP |
- CSUM_UDP | CSUM_SCTP);
+ CSUM_UDP | CSUM_SCTP | CSUM_TCP_IPV6 | CSUM_UDP_IPV6 |
+ CSUM_SCTP_IPV6);
} else {
ifp->if_capenable = 0;
ifp->if_hwassist = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 2, 4:47 AM (16 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27451404
Default Alt Text
D10356.id27361.diff (900 B)
Attached To
Mode
D10356: Inherit IPv6 checksum offloading flags to vlan interfaces
Attached
Detach File
Event Timeline
Log In to Comment