Skip to content

Commit b072342

Browse files
committed
Merge branch 'sfc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc
2 parents 8a49ad6 + ff3bc1e commit b072342

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/sfc

1 file changed

+2
-2
lines changed

drivers/net/ethernet/sfc/rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,10 @@ static int efx_init_rx_buffers_skb(struct efx_rx_queue *rx_queue)
156156
if (unlikely(!skb))
157157
return -ENOMEM;
158158

159-
/* Adjust the SKB for padding and checksum */
159+
/* Adjust the SKB for padding */
160160
skb_reserve(skb, NET_IP_ALIGN);
161161
rx_buf->len = skb_len - NET_IP_ALIGN;
162162
rx_buf->is_page = false;
163-
skb->ip_summed = CHECKSUM_UNNECESSARY;
164163

165164
rx_buf->dma_addr = pci_map_single(efx->pci_dev,
166165
skb->data, rx_buf->len,
@@ -496,6 +495,7 @@ static void efx_rx_packet_gro(struct efx_channel *channel,
496495

497496
EFX_BUG_ON_PARANOID(!checksummed);
498497
rx_buf->u.skb = NULL;
498+
skb->ip_summed = CHECKSUM_UNNECESSARY;
499499

500500
gro_result = napi_gro_receive(napi, skb);
501501
}

0 commit comments

Comments
 (0)