Commit 81b4c8d1 authored by David S. Miller's avatar David S. Miller

[XFRM_USER]: Destroy netlink socket on shutdown.

parent b6f79886
......@@ -1036,8 +1036,7 @@ static int __init xfrm_user_init(void)
static void __exit xfrm_user_exit(void)
{
xfrm_unregister_km(&netlink_mgr);
/* XXX need netlink_kernel_destroy XXX */
sock_release(xfrm_nl->socket);
}
module_init(xfrm_user_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment