]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/af_inet.c
net: Kill link between CSUM and SG features.
[~andy/linux] / net / ipv4 / af_inet.c
index 68f6a94f7661999095d9a02539aee956cd52e8cc..dc3f677360a5bc0975c1e079cf872ef422419626 100644 (file)
@@ -1284,9 +1284,6 @@ static struct sk_buff *inet_gso_segment(struct sk_buff *skb,
        int id;
        unsigned int offset = 0;
 
-       if (!(features & NETIF_F_V4_CSUM))
-               features &= ~NETIF_F_SG;
-
        if (unlikely(skb_shinfo(skb)->gso_type &
                     ~(SKB_GSO_TCPV4 |
                       SKB_GSO_UDP |