aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-08-12 15:43:54 +0000
committerDavid S. Miller <[email protected]>2016-08-15 04:23:42 +0000
commitb22ae0b4d9669495158a7fa0fd027bd0fcd8896e (patch)
tree90388a04cfc7b09170afd823a7912c0c0dc22111 /net/switchdev/switchdev.c
parentqed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc() (diff)
downloadkernel-b22ae0b4d9669495158a7fa0fd027bd0fcd8896e.tar.gz
kernel-b22ae0b4d9669495158a7fa0fd027bd0fcd8896e.zip
net: macb: add missing free_netdev() on error in macb_probe()
Add the missing free_netdev() before return from function macb_probe() in the platform_get_irq() error handling case. Fixes: c69618b3e4f2 ("net/macb: fix probe sequence to setup clocks earlier") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions