From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= Subject: Re: [PATCH net-next v6] Add Common Applications Kept Enhanced (cake) qdisc Date: Tue, 01 May 2018 23:54:01 +0200 Message-ID: <87y3h311qe.fsf@toke.dk> References: <20180429213439.7389-1-toke@toke.dk> <878t932ont.fsf@toke.dk> <4ec8da81-8671-f434-bada-27088b09ce7b@gmail.com> <871sev2mvx.fsf@toke.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Linux Kernel Network Developers , Cake List To: Eric Dumazet , Eric Dumazet , Dave Taht , Cong Wang Return-path: Received: from mail.toke.dk ([52.28.52.200]:58259 "EHLO mail.toke.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbeEAVyD (ORCPT ); Tue, 1 May 2018 17:54:03 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Eric Dumazet writes: > On 05/01/2018 12:31 PM, Toke H=C3=B8iland-J=C3=B8rgensen wrote: > >> Could you comment on specifically what you believe is broken in this, >> please, so I can fix it in the same iteration? >>=20 > > Apart from the various pskb_may_pull() this helper should not change skb = layout. > > Ideally, the skb should be const and you would use > skb_header_pointer() to make clear you do not ever write this skb. > > This would make the reviewer job pretty easy, as no side effect can > possibly happen. Gotcha. Will fix; thanks :) -Toke