summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig.debug
diff options
context:
space:
mode:
authorCong Wang2014-06-04 01:40:47 +0200
committerDavid S. Miller2014-06-04 04:16:10 +0200
commite51fb152318ee6502a2d224771b0bbbbda046128 (patch)
tree313cc6f5be89fabea00162cf970285791c07899b /arch/sparc/Kconfig.debug
parentbnx2x: Fix kernel crash and data miscompare after EEH recovery (diff)
downloadkernel-qcow2-linux-e51fb152318ee6502a2d224771b0bbbbda046128.tar.gz
kernel-qcow2-linux-e51fb152318ee6502a2d224771b0bbbbda046128.tar.xz
kernel-qcow2-linux-e51fb152318ee6502a2d224771b0bbbbda046128.zip
rtnetlink: fix a memory leak when ->newlink fails
It is possible that ->newlink() fails before registering the device, in this case we should just free it, it's safe to call free_netdev(). Fixes: commit 0e0eee2465df77bcec2 (net: correct error path in rtnl_newlink()) Cc: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Cong Wang <cwang@twopensource.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions