Home
last modified time | relevance | path

Searched hist:"4 b973f49" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ethtool/
H A Dcabletest.c4b973f49 Tue Jun 23 20:25:45 CDT 2020 Andrew Lunn <andrew@lunn.ch> 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>
4b973f49 Tue Jun 23 20:25:45 CDT 2020 Andrew Lunn <andrew@lunn.ch> 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>