Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c99dffc4 authored by Jon Cooper's avatar Jon Cooper Committed by Ben Hutchings
Browse files

sfc: Enable RX checksum offload for packets not handled by GRO

parent b28405b0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -598,6 +598,8 @@ static void efx_rx_deliver(struct efx_channel *channel, u8 *eh,

	/* Set the SKB flags */
	skb_checksum_none_assert(skb);
	if (likely(rx_buf->flags & EFX_RX_PKT_CSUMMED))
		skb->ip_summed = CHECKSUM_UNNECESSARY;

	if (channel->type->receive_skb)
		if (channel->type->receive_skb(channel, skb))