diff options
| author | 2021-11-07 21:13:07 +0100 | |
|---|---|---|
| committer | 2021-11-07 21:51:17 +0000 | |
| commit | c45231a7668d6b632534f692b10592ea375b55b0 (patch) | |
| tree | f7bad1bde9763172f3fa95612eaf44bd02cfdd2e /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails (diff) | |
| download | linux-dev-c45231a7668d6b632534f692b10592ea375b55b0.tar.xz linux-dev-c45231a7668d6b632534f692b10592ea375b55b0.zip | |
litex_liteeth: Fix a double free in the remove function
'netdev' is a managed resource allocated in the probe using
'devm_alloc_etherdev()'.
It must not be freed explicitly in the remove function.
Fixes: ee7da21ac4c3 ("net: Add driver for LiteX's LiteETH network interface")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
