Re: [patch 2/3] dm-netlink: Add support for event functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Milan Broz <mbroz@xxxxxxxxxx> wrote:
> Hello Mike,
> 
> Just small oversight in code:
> modification of destructor missing here
> (dm_mod will not load second time after rmmod now)
> 
> @@ -94,4 +288,6 @@ int __init dm_netlink_init(void)
>  void dm_netlink_exit(void)
>  {
>  	dme_cache_destroy(&dme_cache);
> +	sock_release(dm_netlink_sock->sk_socket);
> +	netlink_unregister_notifier(&dm_netlink_notifier);
>  }

I updated the patch. Thank you. I will add the unload to my testing and
resubmit the series once I get the test run.

-andmike
--
Michael Anderson
andmike@xxxxxxxxxx

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux