Revert "net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition"
This reverts commit 2168093ef8
.
This commit is contained in:
parent
4da99c6b03
commit
cca2e810e8
1 changed files with 0 additions and 2 deletions
|
@ -845,11 +845,9 @@ static void ether3_remove(struct expansion_card *ec)
|
|||
{
|
||||
struct net_device *dev = ecard_get_drvdata(ec);
|
||||
|
||||
ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2);
|
||||
ecard_set_drvdata(ec, NULL);
|
||||
|
||||
unregister_netdev(dev);
|
||||
del_timer_sync(&priv(dev)->timer);
|
||||
free_netdev(dev);
|
||||
ecard_release_resources(ec);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue