alistair23-linux/net/ethtool
Andrew Lunn 4b973f4983 net: ethtool: Handle missing cable test TDR parameters
A last minute change put the TDR cable test parameters into a nest.
The validation is not sufficient, resulting in an oops if the nest is
missing. Set default values first, then update them if the nest is
provided.

Fixes: f2bc8ad31a ("net: ethtool: Allow PHY cable test TDR data to configured")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-23 20:21:01 -07:00
..
bitset.c ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
bitset.h ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
cabletest.c net: ethtool: Handle missing cable test TDR parameters 2020-06-23 20:21:01 -07:00
channels.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-05-22 18:30:34 -07:00
coalesce.c ethtool: add COALESCE_NTF notification 2020-03-29 22:32:36 -07:00
common.c net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM 2020-06-23 14:52:27 -07:00
common.h ethtool: provide timestamping information with TSINFO_GET request 2020-03-29 22:32:37 -07:00
debug.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
eee.c ethtool: add EEE_NTF notification 2020-03-29 22:32:36 -07:00
features.c ethtool: add FEATURES_NTF notification 2020-03-12 15:32:33 -07:00
ioctl.c ethtool: Fix check in ethtool_rx_flow_rule_create 2020-06-22 20:48:12 -07:00
linkinfo.c ethtool: linkinfo: remove an unnecessary NULL check 2020-06-05 13:10:02 -07:00
linkmodes.c ethtool: provide UAPI for PHY master/slave configuration. 2020-05-06 17:45:45 -07:00
linkstate.c ethtool: provide UAPI for PHY Signal Quality Index (SQI) 2020-05-21 17:18:00 -07:00
Makefile net: ethtool: netlink: Add support for triggering a cable test 2020-05-10 12:28:41 -07:00
netlink.c net: ethtool: Add generic parts of cable test TDR 2020-05-26 23:21:48 -07:00
netlink.h net: ethtool: Add generic parts of cable test TDR 2020-05-26 23:21:48 -07:00
pause.c ethtool: add PAUSE_NTF notification 2020-03-29 22:32:36 -07:00
privflags.c ethtool: fix reference leak in ethnl_set_privflags() 2020-03-29 22:32:36 -07:00
rings.c ethtool: fix spelling mistake "exceeeds" -> "exceeds" 2020-03-13 11:23:33 -07:00
strset.c ethtool: count header size in reply size estimate 2020-05-21 16:59:19 -07:00
tsinfo.c ethtool: provide timestamping information with TSINFO_GET request 2020-03-29 22:32:37 -07:00
wol.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00