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:Vadim Fedorenko <vadim.fedorenko@linux.dev> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment