]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ixgbevf/ixgbevf_main.c
drivers/net: avoid some skb->ip_summed initializations
[karo-tx-linux.git] / drivers / net / ixgbevf / ixgbevf_main.c
index 5d3c869283a5188da0fa7c31d8da04d28e64757d..bdbd26c60ae6314f481373f3c91163dfc8b87fdf 100644 (file)
@@ -356,7 +356,7 @@ static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector,
 static inline void ixgbevf_rx_checksum(struct ixgbevf_adapter *adapter,
                                       u32 status_err, struct sk_buff *skb)
 {
-       skb->ip_summed = CHECKSUM_NONE;
+       skb_checksum_none_assert(skb);
 
        /* Rx csum disabled */
        if (!(adapter->flags & IXGBE_FLAG_RX_CSUM_ENABLED))