]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: add WOL_NTF notification
authorMichal Kubecek <mkubecek@suse.cz>
Sun, 26 Jan 2020 22:11:19 +0000 (23:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:31:36 +0000 (11:31 +0100)
commitab45cad4cc9a55dd801251761631d26340e0f073
treed1aa3d47c4ac13d64bebe5099a7e52eb4a95ca83
parent0c623c13cee9259a0cb2b80382ee02e63a92dff2
ethtool: add WOL_NTF notification

Send ETHTOOL_MSG_WOL_NTF notification whenever wake-on-lan settings of
a device are modified using ETHTOOL_MSG_WOL_SET netlink message or
ETHTOOL_SWOL ioctl request.

As notifications can be received by anyone, do not include SecureOn(tm)
password in notification messages.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool_netlink.h
net/ethtool/ioctl.c
net/ethtool/netlink.c
net/ethtool/wol.c