[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164407500845.24838.2078251443580915520.git-patchwork-notify@kernel.org>
Date: Sat, 05 Feb 2022 15:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
claudiu.manoil@....com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net] net: mscc: ocelot: fix all IP traffic getting trapped to
CPU with PTP over IP
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Sat, 5 Feb 2022 01:03:21 +0200 you wrote:
> The filters for the PTP trap keys are incorrectly configured, in the
> sense that is2_entry_set() only looks at trap->key.ipv4.dport or
> trap->key.ipv6.dport if trap->key.ipv4.proto or trap->key.ipv6.proto is
> set to IPPROTO_TCP or IPPROTO_UDP.
>
> But we don't do that, so is2_entry_set() goes through the "else" branch
> of the IP protocol check, and ends up installing a rule for "Any IP
> protocol match" (because msk is also 0). The UDP port is ignored.
>
> [...]
Here is the summary with links:
- [net] net: mscc: ocelot: fix all IP traffic getting trapped to CPU with PTP over IP
https://git.kernel.org/netdev/net/c/59085208e4a2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists