From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 926AFC43381 for ; Thu, 21 Feb 2019 22:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5AB65206A3 for ; Thu, 21 Feb 2019 22:40:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="jeJ2hlE4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726213AbfBUWkl (ORCPT ); Thu, 21 Feb 2019 17:40:41 -0500 Received: from mail-pf1-f182.google.com ([209.85.210.182]:38255 "EHLO mail-pf1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbfBUWkl (ORCPT ); Thu, 21 Feb 2019 17:40:41 -0500 Received: by mail-pf1-f182.google.com with SMTP id n125so122090pfn.5 for ; Thu, 21 Feb 2019 14:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4SxZIxKnNnc1YthiN7N7ree31jHZOmZ0VRLWmcn3FSo=; b=jeJ2hlE4vBvLWHNxvyXQIcjqSZivEdbNGamkNjYZtDK556NrUAiNJDz76v/xg6n1Or kSzuj9Jg37NnnBTaM9ADeXiZaIsAPnj7+m8Cnj+Sd+mPIm4FIaY0e3BqaA8xAo5oI+6/ 66gA48Wdkzm1cP1GbVdXUzy18fXFgsz64WGuVoMuGjogFP9KvamqeCb135a2u4Hfa/mT WIYIiMz+l+c6Wiw97Rs0E5mem1HOf3XuKsDr0sekDoSdZ1b6F2AHxoy8zv7qA5CVZMbu TGoVW36dR37a5axYwCKz9Thf2hpWKzdhe4gvR+5/+8F9A7eQWgQnxHBS2G7kUu4b0LxX jQUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4SxZIxKnNnc1YthiN7N7ree31jHZOmZ0VRLWmcn3FSo=; b=JUgSkv6557mx1kN5MN1x7hTvfY/yoPu6OSb4R8gIuYyQjBeOBi0qT8z1SBZzEyOzIc 6vqN4Z18XFD+jCx+5XuXC+ojLANdG09Qhth43HgrLrbUgLUhQXKO6XWmGKn7vlHvpJgf GEF+kHtrqL6d8BMzblMkHH/77MegnLTSpbEhAubDPCYt/7dfAwKyGKv75sAYDo0r3m/4 THiT6XfPmB/qvC96vCkb+UWWB3WUzjadLp72LZdeiSW4A2s+uMbthOFqSqpQ8RdlO0DI wjs8LeOvVNUGkFL8Cqhpu0YXFqlpYpJh71iPJpgC2pvTaxEIXSI9o9AQ1X5lIf0SFGiM bCIQ== X-Gm-Message-State: AHQUAuYaDwIGSyaQr5SXpUXe5kDYuHTERcTuTAGOVeuYjGSVLEGFN/Jr E05XBvKc9rzPS9wVIqT4sww3xYratKM= X-Google-Smtp-Source: AHgI3IZb1RMydE7J03XPrPjKgtGYadgR4/qsq5ypcE86nvdVyA1lhKgiyF6NY59hmK22zFte8xSDmQ== X-Received: by 2002:aa7:854d:: with SMTP id y13mr838934pfn.175.1550788840761; Thu, 21 Feb 2019 14:40:40 -0800 (PST) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x2sm85621pfx.78.2019.02.21.14.40.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 14:40:40 -0800 (PST) Date: Thu, 21 Feb 2019 14:40:36 -0800 From: Stephen Hemminger To: Phil Sutter Cc: netdev@vger.kernel.org Subject: Re: [iproute PATCH] ip-address: Use correct max attribute value in print_vf_stats64() Message-ID: <20190221144036.30902caa@shemminger-XPS-13-9360> In-Reply-To: <20190221183751.10604-1-phil@nwl.cc> References: <20190221183751.10604-1-phil@nwl.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 21 Feb 2019 19:37:51 +0100 Phil Sutter wrote: > IFLA_VF_MAX is larger than the highest valid index in vf array. > > Fixes: a1b99717c7cd7 ("Add displaying VF traffic statistics") > Signed-off-by: Phil Sutter Good catch. It worked because VF_MAX is 12 and VF_STATS_MAX is 8. Applied.