diff options
author | Patrick McHardy <kaber@trash.net> | 2007-05-04 21:15:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-04 21:15:11 +0200 |
commit | 9e71efcd6d659afb9d390eea69b558a7432ba23e (patch) | |
tree | 92837dbdfc9802017297e6be84e79a3828221aea /net/netlink | |
parent | [IPV6]: Some cleanups in include/net/ipv6.h (diff) | |
download | linux-9e71efcd6d659afb9d390eea69b558a7432ba23e.tar.xz linux-9e71efcd6d659afb9d390eea69b558a7432ba23e.zip |
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r-- | 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 ac1ceadf4ed3..507828d7d4ae 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) nlk->cb->done(nlk->cb); |