Subject: Re: [PATCH net] net: mscc: ocelot: fix all IP traffic getting trapped to CPU with PTP over IP

From: [email-masked]
Date: Sat, 05 Feb 2022 15:30:08 +0000

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email-masked]>:

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