Re: [PATCH net-next] ifb: fix packets checksum

From: David Miller
Date: Fri May 25 2018 - 16:43:44 EST


From: Jon Maxwell <jmaxwell37@xxxxxxxxx>
Date: Fri, 25 May 2018 07:38:29 +1000

> Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path.
> Otherwise we get splats when tc mirred is used to redirect packets to ifb.
>
> Before fix:
>
> nic: hw csum failure
>
> Signed-off-by: Jon Maxwell <jmaxwell37@xxxxxxxxx>

This definitely seems correct, but I am really surprised a bug like this has
lasted as long as it has.

So I'll let this sit for another day or two for review.