diff options
author | Sean Wang <sean.wang@mediatek.com> | 2016-09-22 10:44:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 14:22:28 +0200 |
commit | f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac (patch) | |
tree | b1a78b9d77b5e806ca9ad88a4fa3c3f5aeb35502 /drivers/net/xen-netback | |
parent | net: ethernet: mediatek: use [get|set]_link_ksettings (diff) | |
download | linux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.tar.xz linux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.zip |
net: ethernet: mediatek: get out of potential invalid pointer access
Potential dangerous invalid pointer might be accessed if
the error happens when couple phy_device to net_device so
cleanup the error path.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions