Thread (6 messages) flat view 6 messages, 3 authors, 2021-06-22

Re: [PATCH v2] net/ipv4: swap flow ports when validating source

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-22 17:40:16

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 22 Jun 2021 12:24:50 +0800 you wrote:
When doing source address validation, the flowi4 struct used for
fib_lookup should be in the reverse direction to the given skb.
fl4_dport and fl4_sport returned by fib4_rules_early_flow_dissect
should thus be swapped.

Fixes: 5a847a6e1477 ("net/ipv4: Initialize proto and ports in flow struct")
Signed-off-by: Miao Wang <redacted>
Reviewed-by: David Ahern <dsahern@kernel.org>

[...]
Here is the summary with links:
  - [v2] net/ipv4: swap flow ports when validating source
    https://git.kernel.org/netdev/net/c/c69f114d0989

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help