Re: [PATCH net] net: ethtool: Handle missing cable test TDR parameters

2020-06-23 Thread David Miller
From: Andrew Lunn Date: Wed, 24 Jun 2020 03:25:45 +0200 > 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: f2bc8a

[PATCH net] net: ethtool: Handle missing cable test TDR parameters

2020-06-23 Thread Andrew Lunn
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")