Merge branch 'master' into staging-next
[firefly-linux-kernel-4.4.55.git] / net / sctp / protocol.c
index 7c161084f2414b61abbf10a35937d15e460d9f66..4e1d0fcb028efa3001a0b1b69eaf80836765b49c 100644 (file)
@@ -634,10 +634,10 @@ static void sctp_addr_wq_timeout_handler(unsigned long arg)
                        /* ignore bound-specific endpoints */
                        if (!sctp_is_ep_boundall(sk))
                                continue;
-                       sctp_bh_lock_sock(sk);
+                       bh_lock_sock(sk);
                        if (sctp_asconf_mgmt(sp, addrw) < 0)
                                pr_debug("%s: sctp_asconf_mgmt failed\n", __func__);
-                       sctp_bh_unlock_sock(sk);
+                       bh_unlock_sock(sk);
                }
 #if IS_ENABLED(CONFIG_IPV6)
 free_next:
@@ -1461,7 +1461,6 @@ static __init int sctp_init(void)
        if (status)
                goto err_v6_add_protocol;
 
-       status = 0;
 out:
        return status;
 err_v6_add_protocol: