From patchwork Mon Oct 7 19:50:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 281259 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8FB832C020A for ; Tue, 8 Oct 2013 06:50:35 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205Ab3JGTuU (ORCPT ); Mon, 7 Oct 2013 15:50:20 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:46854 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752311Ab3JGTuT (ORCPT ); Mon, 7 Oct 2013 15:50:19 -0400 Received: by mail-pb0-f45.google.com with SMTP id mc17so7548026pbc.32 for ; Mon, 07 Oct 2013 12:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type :content-transfer-encoding:mime-version; bh=7Qz0kPxYXQYJi7UgZksEFyMnKJWMIh9d+PtWPeGrC8o=; b=gd792E1vZVwBWt5N76fgP4ARjpcX3uSfsRx72Ghf+HOs2KUI/trRmVI2VmHhbfJgv8 /7EZ7KAM7VP91hGOhiCGPrsuSxt5rUu+mMG9R5RwBskxcHxXq5L6NDA6zj2kyMRTZj7E NfzjdwZ7KWw0yZFhg2JlzIxuA3gw/Zg14NcJXC2tahXKalLQztXHSxOa4A+XprcT88YM ZeQya+dp2e8BgBCsMgeNIs8l7YHvIhdk2G3Ij15/2tkLDOhorXS9OjvbeboDnL00uYYB S40RLHwKjqscBXJPwNR1w5m8CzE5MkEBbaRSWAuTyuOieNwb4jJZ5QvAItimxZv1wdZb nm9w== X-Received: by 10.66.242.17 with SMTP id wm17mr34470710pac.102.1381175419095; Mon, 07 Oct 2013 12:50:19 -0700 (PDT) Received: from ?IPv6:2620:0:1000:3304:8186:7139:9a19:6a78? ([2620:0:1000:3304:8186:7139:9a19:6a78]) by mx.google.com with ESMTPSA id ab4sm35076189pbc.43.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 07 Oct 2013 12:50:18 -0700 (PDT) Message-ID: <1381175418.12191.19.camel@edumazet-glaptop.roam.corp.google.com> Subject: [PATCH] pkt_sched: fq: fix typo for initial_quantum From: Eric Dumazet To: David Miller Cc: netdev Date: Mon, 07 Oct 2013 12:50:18 -0700 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Eric Dumazet TCA_FQ_INITIAL_QUANTUM should set q->initial_quantum Signed-off-by: Eric Dumazet --- net/sched/sch_fq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/sched/sch_fq.c b/net/sched/sch_fq.c index a2fef8b..d8cb3b5 100644 --- a/net/sched/sch_fq.c +++ b/net/sched/sch_fq.c @@ -656,7 +656,7 @@ static int fq_change(struct Qdisc *sch, struct nlattr *opt) q->quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); if (tb[TCA_FQ_INITIAL_QUANTUM]) - q->quantum = nla_get_u32(tb[TCA_FQ_INITIAL_QUANTUM]); + q->initial_quantum = nla_get_u32(tb[TCA_FQ_INITIAL_QUANTUM]); if (tb[TCA_FQ_FLOW_DEFAULT_RATE]) q->flow_default_rate = nla_get_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]);