Merge branch 'ethtool-netlink-interface-part-2'
Michal Kubecek says:
====================
ethtool netlink interface, part 2
This shorter series adds support for getting and setting of wake-on-lan
settings and message mask (originally message level). Together with the
code already in net-next, this will allow full implementation of
"ethtool <dev>" and "ethtool -s <dev> ...".
Older versions of the ethtool netlink series allowed getting WoL settings
by unprivileged users and only filtered out the password but this was
a source of controversy so for now, ETHTOOL_MSG_WOL_GET request always
requires CAP_NET_ADMIN as ETHTOOL_GWOL ioctl request does.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- Documentation/networking/ethtool-netlink.rst 104 additions, 6 deletionsDocumentation/networking/ethtool-netlink.rst
- include/linux/netdevice.h 41 additions, 15 deletionsinclude/linux/netdevice.h
- include/uapi/linux/ethtool.h 6 additions, 0 deletionsinclude/uapi/linux/ethtool.h
- include/uapi/linux/ethtool_netlink.h 33 additions, 0 deletionsinclude/uapi/linux/ethtool_netlink.h
- net/ethtool/Makefile 1 addition, 1 deletionnet/ethtool/Makefile
- net/ethtool/common.c 31 additions, 0 deletionsnet/ethtool/common.c
- net/ethtool/common.h 2 additions, 0 deletionsnet/ethtool/common.h
- net/ethtool/debug.c 134 additions, 0 deletionsnet/ethtool/debug.c
- net/ethtool/ioctl.c 3 additions, 0 deletionsnet/ethtool/ioctl.c
- net/ethtool/netlink.c 45 additions, 12 deletionsnet/ethtool/netlink.c
- net/ethtool/netlink.h 4 additions, 0 deletionsnet/ethtool/netlink.h
- net/ethtool/strset.c 11 additions, 0 deletionsnet/ethtool/strset.c
- net/ethtool/wol.c 177 additions, 0 deletionsnet/ethtool/wol.c
Loading
Please register or sign in to comment