On 05/06/2017 09:07 AM, David Ahern wrote:
> Lightweight netdevices are not added to sysfs; bypass kobject
> initialization.
I was wondering if we actually needed a flag to tell: this is a
lightweight device, but still let it show up in /sys. All use cases that
I have in mind (getting the physical
Lightweight netdevices are not added to sysfs; bypass kobject
initialization.
Signed-off-by: David Ahern
---
include/linux/netdevice.h | 3 +++
net/core/dev.c| 9 ++---
net/core/net-sysfs.c | 14 +++---
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git