Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Should probably call dev_close on the device before freeing it.

  • Loading branch information...
commit cba56163892e416c9e6d9e144861fcc021d37f3d 1 parent b51bfd1
@ice799 ice799 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  khial_main.c
View
1  khial_main.c
@@ -336,6 +336,7 @@ static int setup_cdev(struct khial *adapter, int idx)
static void khial_dev_free(struct net_device *dev)
{
+ dev_close(dev);
unregister_netdev(dev);
free_netdev(dev);
}
Please sign in to comment.
Something went wrong with that request. Please try again.