Commit 5af9d190 authored by Vadim Fedorenko's avatar Vadim Fedorenko Committed by sanglipeng
Browse files

vlan: partially enable SIOCSHWTSTAMP in container

stable inclusion
from stable-v5.10.180
commit ba6d56b20e8acb0d83020580ce28b1127e6d4b88
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ba6d56b20e8acb0d83020580ce28b1127e6d4b88



--------------------------------

[ Upstream commit 731b73db ]

Setting timestamp filter was explicitly disabled on vlan devices in
containers because it might affect other processes on the host. But it's
absolutely legit in case when real device is in the same namespace.

Fixes: 873017af ("vlan: disable SIOCSHWTSTAMP in container")
Signed-off-by: default avatarVadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 179805a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment