diff options
Diffstat (limited to 'drivers/scsi/scsi_netlink.c')
-rw-r--r-- | drivers/scsi/scsi_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c index 3e1591828171..370c78cc1cb5 100644 --- a/drivers/scsi/scsi_netlink.c +++ b/drivers/scsi/scsi_netlink.c | |||
@@ -164,7 +164,7 @@ void | |||
164 | scsi_netlink_exit(void) | 164 | scsi_netlink_exit(void) |
165 | { | 165 | { |
166 | if (scsi_nl_sock) { | 166 | if (scsi_nl_sock) { |
167 | sock_release(scsi_nl_sock->sk_socket); | 167 | netlink_kernel_release(scsi_nl_sock); |
168 | netlink_unregister_notifier(&scsi_netlink_notifier); | 168 | netlink_unregister_notifier(&scsi_netlink_notifier); |
169 | } | 169 | } |
170 | 170 | ||