Commit:     9e71efcd6d659afb9d390eea69b558a7432ba23e
Parent:     db3459d1a71d885334831cdca6646a48f5ea0483
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Fri May 4 12:15:11 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri May 4 12:15:11 2007 -0700

    [NETLINK]: Remove bogus BUG_ON
    Remove bogus BUG_ON(mutex_is_locked(nlk_sk(sk)->cb_mutex)), when the
    netlink_kernel_create caller specifies an external mutex it might
    validly be locked.
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/netlink/af_netlink.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index ac1cead..507828d 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -142,7 +142,6 @@ static void netlink_sock_destruct(struct sock *sk)
        struct netlink_sock *nlk = nlk_sk(sk);
-       BUG_ON(mutex_is_locked(nlk_sk(sk)->cb_mutex));
        if (nlk->cb) {
                if (nlk->cb->done)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to