Thread (3 messages) 3 messages, 3 authors, 2021-12-09

Re: [net] seg6: fix the iif in the IPv6 socket control block

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-09 16:10:20
Also in: lkml

Hello:

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

On Wed,  8 Dec 2021 20:54:09 +0100 you wrote:
When an IPv4 packet is received, the ip_rcv_core(...) sets the receiving
interface index into the IPv4 socket control block (v5.16-rc4,
net/ipv4/ip_input.c line 510):

    IPCB(skb)->iif = skb->skb_iif;

If that IPv4 packet is meant to be encapsulated in an outer IPv6+SRH
header, the seg6_do_srh_encap(...) performs the required encapsulation.
In this case, the seg6_do_srh_encap function clears the IPv6 socket control
block (v5.16-rc4 net/ipv6/seg6_iptunnel.c line 163):

[...]
Here is the summary with links:
  - [net] seg6: fix the iif in the IPv6 socket control block
    https://git.kernel.org/netdev/net/c/ae68d93354e5

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