lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon,  9 Nov 2020 14:29:53 +0100 (CET)
From:   Michal Kubecek <mkubecek@...e.cz>
To:     netdev@...r.kernel.org
Cc:     Ido Schimmel <idosch@...sch.org>, Jakub Kicinski <kuba@...nel.org>,
        Ivan Vecera <ivecera@...hat.com>
Subject: [PATCH ethtool 0/2] netlink: improve compatibility with ioctl
 interface

Restore special behavior of "ethtool -s <dev> autoneg on" if no advertised
modes, speed and duplex are requested: ioctl code enables all link modes
supported by the device. This is most important for network devices which
report no advertised modes when autonegotiation is disabled.

First patch cleans up the parser interface; it allows nl_sset() to inspect
the composed message and append an attribute to it if needed.

Ido Schimmel (1):
  ethtool: Improve compatibility between netlink and ioctl interfaces

Michal Kubecek (1):
  netlink: do not send messages and process replies in nl_parser()

 netlink/cable_test.c |   2 +-
 netlink/channels.c   |   2 +-
 netlink/coalesce.c   |   2 +-
 netlink/eee.c        |   2 +-
 netlink/parser.c     |  43 ++++++++++-----
 netlink/parser.h     |   3 +-
 netlink/pause.c      |   2 +-
 netlink/rings.c      |   2 +-
 netlink/settings.c   | 127 +++++++++++++++++++++++++++++++++++++++++--
 9 files changed, 158 insertions(+), 27 deletions(-)

-- 
2.29.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ