diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-06-24 03:25:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 20:21:01 -0700 |
commit | 4b973f49830d74de36b5f4a75c07f6658524d2e4 (patch) | |
tree | e29ec49ea458c4e7612dfa5b0aa8426bce1d5779 /include/linux/seq_file.h | |
parent | Merge branch 'bnxt_en-Bug-fixes' (diff) | |
download | wireguard-linux-4b973f49830d74de36b5f4a75c07f6658524d2e4.tar.xz wireguard-linux-4b973f49830d74de36b5f4a75c07f6658524d2e4.zip |
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: f2bc8ad31a7f ("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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions