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) ...@@ -1036,8 +1036,7 @@ static int __init xfrm_user_init(void)
static void __exit xfrm_user_exit(void) static void __exit xfrm_user_exit(void)
{ {
xfrm_unregister_km(&netlink_mgr); xfrm_unregister_km(&netlink_mgr);
sock_release(xfrm_nl->socket);
/* XXX need netlink_kernel_destroy XXX */
} }
module_init(xfrm_user_init); 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