[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7b05b0f5-130d-8c4b-a954-c6dfad97a073@gmail.com>
Date: Wed, 6 Jul 2022 08:52:02 -0600
From: David Ahern <dsahern@...il.com>
To: Petr Machata <petrm@...dia.com>
Cc: netdev@...r.kernel.org,
Stephen Hemminger <stephen@...workplumber.org>,
Tariq Toukan <tariqt@...dia.com>,
Itay Aveksis <itayav@...dia.com>
Subject: Re: [PATCH iproute2-next v2] ip: Fix rx_otherhost_dropped support
On 7/6/22 6:42 AM, Petr Machata wrote:
>
> David Ahern <dsahern@...il.com> writes:
>
>> On 6/28/22 4:19 AM, Petr Machata wrote:
>>> The commit cited below added a new column to print_stats64(). However it
>>> then updated only one size_columns() call site, neglecting to update the
>>> remaining three. As a result, in those not-updated invocations,
>>> size_columns() now accesses a vararg argument that is not being passed,
>>> which is undefined behavior.
>>>
>>> Fixes: cebf67a35d8a ("show rx_otherehost_dropped stat in ip link show")
>>> CC: Tariq Toukan <tariqt@...dia.com>
>>> CC: Itay Aveksis <itayav@...dia.com>
>>> Signed-off-by: Petr Machata <petrm@...dia.com>
>>> ---
>>>
>>> Notes:
>>> v2:
>>> - Adjust to changes in the "32-bit quantity" patch
>>> - Tweak the commit message for clarity
>>>
>>> ip/ipaddress.c | 8 +++++---
>>> 1 file changed, 5 insertions(+), 3 deletions(-)
>>>
>>
>> I merged main into next and now this one needs to be rebased.
>
> The issue is that this depends on 329fda186156 ("ip: Fix size_columns()
> invocation that passes a 32-bit quantity"), which got to net only
> yesterday. When it's merged to next, this patch should apply cleanly.
ah, merged again and applied.
Powered by blists - more mailing lists