Le 10/07/2019 à 15:11, Nicolas Dichtel a écrit :
> dev_net(dev) is the netns of the device and xi->net is the link netns,
> where the device has been linked.
> changelink() must operate in the link netns to avoid a corruption of
> the xfrm lists.
> 
> Note that xi->net and dev_net(xi->physdev) are always the same.
> 
> Before the patch, the xfrmi lists may be corrupted and can later trigger a
> kernel panic.
> 
> Fixes: f203b76d7809 ("xfrm: Add virtual xfrm interfaces")
> Reported-by: Julien Floret <julien.flo...@6wind.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
> Tested-by: Julien Floret <julien.flo...@6wind.com>
Please, drop this one too.


Regards,
Nicolas

Reply via email to