From: Jian Yang
Traditionally loopback devices come up with initial state as DOWN for
any new network-namespace. This would mean that anyone needing this
device would have to bring this UP by issuing something like 'ip link
set lo up'. This can be avoided if the initial state is
will only alter the behavior of the newer network namespaces.
Signed-off-by: Mahesh Bandewar
Signed-off-by: Jian Yang
Reported-by: kernel test robot
---
v2:
* Updated sysctl name from `netdev_loopback_state` to `loopback_init_state`
* Fixed the linking error when CONFIG_SYSCTL is n
will only alter the behavior of the newer network namespaces.
Signed-off-by: Mahesh Bandewar
Signed-off-by: Jian Yang
---
Documentation/admin-guide/sysctl/net.rst | 11 +++
drivers/net/loopback.c | 7 +++
include/linux/netdevice.h| 1 +
From: Jian Yang
The txtimestamp selftest sets a fixed 500us tolerance. This value was
arrived at experimentally. Some platforms have higher variances. Make
this adjustable by adding the following flag:
-t N: tolerance (usec) for timestamp validation.
Signed-off-by: Jian Yang
Acked-by: Willem