[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <578E414C.1080501@iogearbox.net>
Date: Tue, 19 Jul 2016 17:03:40 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Jamal Hadi Salim <jhs@...atatu.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
CC: davem@...emloft.net, netdev@...r.kernel.org,
xiyou.wangcong@...il.com, nikolay@...ulusnetworks.com
Subject: Re: [PATCH net-next 1/1] net_sched: Introduce skbmod action
On 07/19/2016 03:56 PM, Jamal Hadi Salim wrote:
[...]
>> But apart from this,
>> neither pedit nor tcf_skbmod_run() here handle checksum complete, so you'll
>> potentially get false positives wrt csum corruption and drops as a result
>> when using either of the two.
>
> pedit maybe tricky. Any suggestions?
> On tcf_skbmod_run, mostly ignorance: while doing only ethernet updates;
> is it still needed to do the checksum complete?
Well, what Cong recently fixed with mirred was related to mac header ...
You probably need skb_postpull_rcsum(), skb_postpush_rcsum() pair.
Also, what about skb_try_make_writable()?
Powered by blists - more mailing lists