diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2021-09-24 12:26:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-24 16:25:05 +0300 |
commit | 4526fe74c3c5095cc55931a3a6fb4932f9e06002 (patch) | |
tree | 1058149c366e5b0f0aff7856658daae416eb5319 /net | |
parent | 5ab8a447bcfee1ded709e7ff5dc7608ca9f66ae2 (diff) | |
download | linux-4526fe74c3c5095cc55931a3a6fb4932f9e06002.tar.xz |
drivers: net: mhi: fix error path in mhi_net_newlink
Fix double free_netdev when mhi_prepare_for_transfer fails.
Fixes: 3ffec6a14f24 ("net: Add mhi-net driver")
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions