summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2018-11-28 15:30:24 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-28 10:41:15 -0800
commitc758940158bf29fe14e9d0f89d5848f227b48134 (patch)
treefd0e70a0fbe5f1b8d0522b921deb3fe197574616 /tools
parentcfc435198f53a6fa1f656d98466b24967ff457d0 (diff)
net: hisilicon: remove unexpected free_netdev
The net device ndev is freed via free_netdev when failing to register the device. The control flow then jumps to the error handling code block. ndev is used and freed again. Resulting in a use-after-free bug. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions