From: David Ahern <dsahern@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>,
heng guo <heng.guo@windriver.com>,
netdev@vger.kernel.org
Subject: Re: [6.6.x REGRESSION][BISECTED] dev_snmp6: broken Ip6OutOctets accounting for forwarded IPv6 packets
Date: Thu, 25 Jan 2024 11:20:58 -0700 [thread overview]
Message-ID: <08d60060-ee2b-436f-9dcc-8aad1c8c35a1@gmail.com> (raw)
In-Reply-To: <ZbJ5Wfx7jNfXBpAP@pc11.op.pod.cz>
On 1/25/24 8:08 AM, Vitezslav Samel wrote:
> On Thu, Jan 25, 2024 at 07:47:40 +0100, Vitezslav Samel wrote:
>> On Wed, Jan 24, 2024 at 17:46:52 -0800, Jakub Kicinski wrote:
>>> On Thu, 25 Jan 2024 08:37:11 +0800 heng guo wrote:
>>>>>> Heng Guo, David, any thoughts on this? Revert?
>>>>> Revert is best; Heng Guo can revisit the math and try again.
>>>>>
>>>>> The patch in question basically negated IPSTATS_MIB_OUTOCTETS; I see it
>>>>> shown in proc but never bumped in the datapath.
>>>> [HG]: Yes please revert it. I verified the patch on ipv4, seems I should
>>>> not touch the codes to ipv6. Sorry for it.
>>>
>>> Would you mind sending a patch with a revert, explaining the situation,
>>> the right Fixes tag and a link to Vitezslav's report?
>>
>> I took a look at current master and found that there is yet another
>> commit since 6.6.x which touches this area: commit b4a11b2033b7 by Heng Guo
>> ("net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams"). It went
>> in v6.7-rc1.
>>
>> I will test current master this afternoon and report back.
>
> Test 1: Linus' current master: IPv6 octets accounting is OK
> Test 2: 6.6.13 with b4a11b2033b7 ("net: fix IPSTATS_MIB_OUTPKGS
> increment in OutForwDatagrams") on top is also OK.
>
> Seems like my problem was solved in master already, but
> it still exists in 6.6.y. IMHO commit b4a11b2033b7 should be
> marked as for-stable-6.6.y and forwarded to GregKH. AFAIK only 6.6.y
> stable tree is affected.
>
> But beware: I only tested my specific problem and I don't know if the
> commit with fix doesn't break anything else.
Only reported problem, so with b4a11b2033b7 backported to stable we
should be good. Thanks for the testing of various releases to isolate
the problem.
next prev parent reply other threads:[~2024-01-25 18:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 9:23 [6.6.x REGRESSION][BISECTED] dev_snmp6: broken Ip6OutOctets accounting for forwarded IPv6 packets Vitezslav Samel
2024-01-24 20:30 ` Jakub Kicinski
2024-01-24 21:55 ` David Ahern
2024-01-25 0:37 ` heng guo
2024-01-25 1:46 ` Jakub Kicinski
2024-01-25 6:47 ` Vitezslav Samel
2024-01-25 15:08 ` Vitezslav Samel
2024-01-25 18:20 ` David Ahern [this message]
2024-03-05 14:38 ` fix IPSTATS_MIB_OUTOCTETS for IPv6 in stable-6.6.x Vitezslav Samel
2024-03-27 14:37 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08d60060-ee2b-436f-9dcc-8aad1c8c35a1@gmail.com \
--to=dsahern@gmail.com \
--cc=heng.guo@windriver.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.