Thread (19 messages) flat view 19 messages, 2 authors, 13h ago

Re: [PATCH net-next 6/9] vxlan: dynamically allocate struct vxlan_config

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-09-05 04:29:22

On Thu, Sep 3, 2026 at 5:08 AM Eric Dumazet [off-list ref] wrote:
Move 'struct vxlan_config' from an embedded structure inside
'struct vxlan_dev' to a dynamically allocated pointer 'vxlan->cfg'.

Updating configuration via vxlan_changelink() or vxlan_dev_configure()
now allocates a new struct vxlan_config and frees the previous one.

This prepares the ground for converting vxlan->cfg to RCU protection
in the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help