From patchwork Thu Apr 4 13:01:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= X-Patchwork-Id: 1077270 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44Zjkp6bmsz9sRX for ; Fri, 5 Apr 2019 00:01:38 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729241AbfDDNBh (ORCPT ); Thu, 4 Apr 2019 09:01:37 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:44799 "EHLO mail-ed1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728159AbfDDNBg (ORCPT ); Thu, 4 Apr 2019 09:01:36 -0400 Received: by mail-ed1-f44.google.com with SMTP id d11so2094593edp.11 for ; Thu, 04 Apr 2019 06:01:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=59WHJVTDNWb09d3vYYl3SdNH3Vk2sziFqgUXtY53OXs=; b=lkKlSnzAGWvkzyT6pjTKjgDlm8S9dvcOdIblDtaYAPACR0NKtRHgYExOYyLNVNJguv X0UTqDVTxvKX/cLufvUXc6BhKyMLTNMUtizYjR3x/2tWPCXlLPAUuCqM7RLz5RLY7wFH xXUN3ecUBri8D5R3XfIb0sjke2GuQMNhaG3ncOy1lZ4jW+0VW53nNqacNSYKOs5Plhiz s+DvQvwfcMABcvZZIGoakDMtdj2xtLZDT4Pgw3cg1jVBENtWy714Ww9ywb702uE4avhj KWNz/rq6cnYHs0U5EufBpMXN3AWPaj2Qrhseaxx4Hy9uaub+ijIVhWeQVVu6A/f3fu45 n7LQ== X-Gm-Message-State: APjAAAXU2l8/b1nspDSH+G6rmnjzONq7u87oJnTR1ZXq/0r/YhfoZAVY qG7V9FOfygs/SME+lIT6ntCqFw== X-Google-Smtp-Source: APXvYqx+xBQ7XP/Imq/tp43Hw0BLPPoU66XsC4SsJWQDUb1y/sCWxOjKQNFHza8mqfemcHSZerSHCQ== X-Received: by 2002:a50:9438:: with SMTP id p53mr3708929eda.92.1554382895259; Thu, 04 Apr 2019 06:01:35 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk (borgediget.toke.dk. [85.204.121.218]) by smtp.gmail.com with ESMTPSA id i26sm822065ejc.51.2019.04.04.06.01.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2019 06:01:34 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id AA1F51804A5; Thu, 4 Apr 2019 15:01:33 +0200 (CEST) Subject: [PATCH net 0/2] sched: A few small fixes for sch_cake From: Toke =?utf-8?q?H=C3=B8iland-J=C3=B8rgensen?= To: David Miller Cc: netdev@vger.kernel.org, cake@lists.bufferbloat.net Date: Thu, 04 Apr 2019 15:01:33 +0200 Message-ID: <155438289359.18760.18027832614176337074.stgit@alrua-x1> User-Agent: StGit/unknown-version MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Dave Kevin noticed a few issues with the way CAKE reads the skb protocol and the IP diffserv fields. This series fixes those two issues, and should probably go to in 4.19 as well. However, the previous refactoring patch means they don't apply as-is; I can send a follow-up directly to stable if that's OK with you? -Toke --- Toke Høiland-Jørgensen (2): sch_cake: Use tc_skb_protocol() helper for getting packet protocol sch_cake: Make sure we can write the IP header before changing DSCP bits net/sched/sch_cake.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)