aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/inet_diag.c')
-rw-r--r--net/ipv4/inet_diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c
index e468e7a7aac4..605ed2cd7972 100644
--- a/net/ipv4/inet_diag.c
+++ b/net/ipv4/inet_diag.c
@@ -935,7 +935,7 @@ out_free_table:
935 935
936static void __exit inet_diag_exit(void) 936static void __exit inet_diag_exit(void)
937{ 937{
938 sock_release(idiagnl->sk_socket); 938 netlink_kernel_release(idiagnl);
939 kfree(inet_diag_table); 939 kfree(inet_diag_table);
940} 940}
941 941