]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/ipv6_sockglue.c
[NET]: IPV6 checksum offloading in network devices
[net-next-2.6.git] / net / ipv6 / ipv6_sockglue.c
index b636c38411fbff749f4322c26ddf97ef0c4a22dd..1c3506696cb5587b1f3b987deca8c2d0d416d241 100644 (file)
@@ -123,7 +123,7 @@ static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, int features)
        struct ipv6hdr *ipv6h;
        struct inet6_protocol *ops;
 
-       if (!(features & NETIF_F_HW_CSUM))
+       if (!(features & NETIF_F_V6_CSUM))
                features &= ~NETIF_F_SG;
 
        if (unlikely(skb_shinfo(skb)->gso_type &