summaryrefslogtreecommitdiff
path: root/net/mpls
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-02-06 18:35:15 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-06 13:42:54 -0800
commit00670cb8a73b10b10d3c40f045c15411715e4465 (patch)
treec6ea6278589659c3bbd1144abaf0bde8409382ce /net/mpls
parent2b1f86bf741a3220b4471fef197631d6e2264983 (diff)
net: dsa: Fix NULL checking in dsa_slave_set_eee()
This function can't succeed if dp->pl is NULL. It will Oops inside the call to return phylink_ethtool_get_eee(dp->pl, e); Fixes: 1be52e97ed3e ("dsa: slave: eee: Allow ports to use phylink") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions