aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm/br2684.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/atm/br2684.c')
-rw-r--r--net/atm/br2684.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index 13858e2675c5..9d52ebfc1962 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -350,6 +350,7 @@ static void br2684_push(struct atm_vcc *atmvcc, struct sk_buff *skb)
350 list_del(&brdev->br2684_devs); 350 list_del(&brdev->br2684_devs);
351 write_unlock_irq(&devs_lock); 351 write_unlock_irq(&devs_lock);
352 unregister_netdev(net_dev); 352 unregister_netdev(net_dev);
353 free_netdev(net_dev);
353 } 354 }
354 return; 355 return;
355 } 356 }
@@ -770,6 +771,7 @@ static void __exit br2684_exit(void)
770 771
771 list_del(&brdev->br2684_devs); 772 list_del(&brdev->br2684_devs);
772 unregister_netdev(net_dev); 773 unregister_netdev(net_dev);
774 free_netdev(net_dev);
773 } 775 }
774} 776}
775 777