From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 7F5323BA8E for ; Tue, 1 May 2018 17:54:01 -0400 (EDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1525211640; bh=1U4dsnbueRdc5HwbM/EvHZrOZ+nlDLgSQ2KJU7G85wc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qkC8Kdl4jVsT8UyKHK8h6nCzxwB26ZpXiVv64AR+F7HO/ssHgdtPXFifPXATKI62e CjJbm/RotsDt6nNWM0rMMt5ErS1jgd7kIyZhX/gw+ePudr49WkZbJNXfzAxVqX334K WdVE5vdoQpk1PniOOBCAm0UIqTkrJwhznS9E+Lnh1/8kmYAsvakJwjVfiOYbXnQ+8t +/81VUsNnULNRdDdTnUVyXAz+V+D+e4CUW1I2f/nQfRbgVUme83s8q3UhnaA6+Cyar SFqpQyN4NLJaNZKvDSPrgBksW6heOR2rv0ktD5KbwIYyQMV71X6G6KVNpEMQp4vjea P08wBmlFbwWvg== To: Eric Dumazet , Eric Dumazet , Dave Taht , Cong Wang Cc: Linux Kernel Network Developers , Cake List In-Reply-To: References: <20180429213439.7389-1-toke@toke.dk> <878t932ont.fsf@toke.dk> <4ec8da81-8671-f434-bada-27088b09ce7b@gmail.com> <871sev2mvx.fsf@toke.dk> Date: Tue, 01 May 2018 23:54:01 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87y3h311qe.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] [PATCH net-next v6] Add Common Applications Kept Enhanced (cake) qdisc X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2018 21:54:01 -0000 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