File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,11 +156,10 @@ static int efx_init_rx_buffers_skb(struct efx_rx_queue *rx_queue)
156
156
if (unlikely (!skb ))
157
157
return - ENOMEM ;
158
158
159
- /* Adjust the SKB for padding and checksum */
159
+ /* Adjust the SKB for padding */
160
160
skb_reserve (skb , NET_IP_ALIGN );
161
161
rx_buf -> len = skb_len - NET_IP_ALIGN ;
162
162
rx_buf -> is_page = false;
163
- skb -> ip_summed = CHECKSUM_UNNECESSARY ;
164
163
165
164
rx_buf -> dma_addr = pci_map_single (efx -> pci_dev ,
166
165
skb -> data , rx_buf -> len ,
@@ -496,6 +495,7 @@ static void efx_rx_packet_gro(struct efx_channel *channel,
496
495
497
496
EFX_BUG_ON_PARANOID (!checksummed );
498
497
rx_buf -> u .skb = NULL ;
498
+ skb -> ip_summed = CHECKSUM_UNNECESSARY ;
499
499
500
500
gro_result = napi_gro_receive (napi , skb );
501
501
}
You can’t perform that action at this time.
0 commit comments