> From: Maoyi Xie <[email protected]>
> 
> After patch 1/2 in this series, vti6_update() unlinks and relinks
> the tunnel through t->net. vti6_siocdevprivate() still uses
> dev_net(dev) for the collision lookup. For a tunnel moved through
> IFLA_NET_NS_FD, dev_net(dev) is the new netns, not t->net.
> 
> SIOCCHGTUNNEL on a migrated tunnel then runs:
> 
>   net = dev_net(dev)                    /* migrated netns */
>   t   = vti6_locate(net, &p1, false)    /* misses target in t->net */
>   ...
>   t   = netdev_priv(dev)
>   vti6_update(t, &p1, false)            /* mutates t->net's hash */
> 
> [ ... ]
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-154348
> 
> Feature: fix ms/net
> Signed-off-by: Denis V. Lunev <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=4


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to