Re: [PATCH net v3 1/2] ipv6: fix cached route reuse for control messages

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-11-12 17:00:07
Also in
linux-kselftest, lkml, stable
Reply to
Xia Yan, 2026-11-09
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon,  9 Nov 2026 09:45:25 +0800 you wrote:
A connected IPv6 UDP or ping socket can reuse its cached route when an
SO_MARK cmsg requests another mark. A packet can then bypass a prohibit
rule instead of failing with EACCES.

ip6_sk_dst_lookup_flow() reads the cache even when connected is false.
UDP clears connected after parsing IP or socket control messages. Ping
always passes false.

[...]
Here is the summary with links:
  - [net,v3,1/2] ipv6: fix cached route reuse for control messages
    https://git.kernel.org/netdev/net/c/f778e80b3daf
  - [net,v3,2/2] selftests: net: exercise SO_MARK on connected sockets
    https://git.kernel.org/netdev/net/c/6785ad21822c

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

Thread (5 messages) 5 messages, 3 authors, last reply 3d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help