Re: [Patch net] net: make pskb_trim_rcsum_slow() robust
From: Cong Wang <hidden>
Date: 2018-10-30 11:12:52
From: Cong Wang <hidden>
Date: 2018-10-30 11:12:52
On Mon, Oct 29, 2018 at 7:14 PM Eric Dumazet [off-list ref] wrote:
Would not it be simpler to set ip_summed to CHECKSUM_NONE (no need to save old_csum) ?
For !CHECKSUM_COMPLETE, ip_summed should be untouched, right? If you mean only setting to CHECKSUM_NONE for CHECKSUM_COMPLETE case, the end result may not be simpler.