kernel-fxtec-pro1x/net/8021q
Hangbin Liu e384060707 vlan: disable SIOCSHWTSTAMP in container
[ Upstream commit 873017af778439f2f8e3d87f28ddb1fcaf244a76 ]

With NET_ADMIN enabled in container, a normal user could be mapped to
root and is able to change the real device's rx filter via ioctl on
vlan, which would affect the other ptp process on host. Fix it by
disabling SIOCSHWTSTAMP in container.

Fixes: a6111d3c93 ("vlan: Pass SIOC[SG]HWTSTAMP ioctls to real device")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-16 19:41:30 +02:00
..
Kconfig
Makefile
vlan.c
vlan.h
vlan_core.c
vlan_dev.c vlan: disable SIOCSHWTSTAMP in container 2019-05-16 19:41:30 +02:00
vlan_gvrp.c
vlan_mvrp.c
vlan_netlink.c
vlanproc.c
vlanproc.h