diff options
| author | 2016-09-22 16:44:16 +0800 | |
|---|---|---|
| committer | 2016-09-22 08:22:28 -0400 | |
| commit | f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac (patch) | |
| tree | b1a78b9d77b5e806ca9ad88a4fa3c3f5aeb35502 /drivers/net/xen-netback/common.h | |
| parent | net: ethernet: mediatek: use [get|set]_link_ksettings (diff) | |
| download | wireguard-linux-f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac.tar.xz wireguard-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/common.h')
0 files changed, 0 insertions, 0 deletions
