]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/igbvf/netdev.c
drivers/net: avoid some skb->ip_summed initializations
[karo-tx-linux.git] / drivers / net / igbvf / netdev.c
index c539f7c9c3e08a2957826387fb1ce259954e9015..c7fab80d24906ef061acf85e600473bcc2c36472 100644 (file)
@@ -103,7 +103,7 @@ static void igbvf_receive_skb(struct igbvf_adapter *adapter,
 static inline void igbvf_rx_checksum_adv(struct igbvf_adapter *adapter,
                                          u32 status_err, struct sk_buff *skb)
 {
-       skb->ip_summed = CHECKSUM_NONE;
+       skb_checksum_none_assert(skb);
 
        /* Ignore Checksum bit is set or checksum is disabled through ethtool */
        if ((status_err & E1000_RXD_STAT_IXSM) ||