From: Danny Schweizer <danny.schweizer@proofnet.de>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH] BNEP multicast filter is filtering multicast addresses in default case although differently specified
Date: Wed, 18 Nov 2015 13:16:53 +0100 [thread overview]
Message-ID: <564C6C35.4030305@proofnet.de> (raw)
This patch fixes the Bug 106691 by changing the default multicast filter
to not filter out any multicast addresses.
---
net/bluetooth/bnep/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
index 1641367..ba2467a 100644
--- a/net/bluetooth/bnep/core.c
+++ b/net/bluetooth/bnep/core.c
@@ -609,7 +609,7 @@ int bnep_add_connection(struct bnep_connadd_req
*req, struct socket *sock)
#ifdef CONFIG_BT_BNEP_MC_FILTER
/* Set default mc filter */
- set_bit(bnep_mc_hash(dev->broadcast), (ulong *) &s->mc_filter);
+ s->mc_filter = ~0LL;
#endif
#ifdef CONFIG_BT_BNEP_PROTO_FILTER
--
2.1.4
next reply other threads:[~2015-11-18 12:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 12:16 Danny Schweizer [this message]
2015-11-18 12:45 ` [PATCH] BNEP multicast filter is filtering multicast addresses in default case although differently specified Marcel Holtmann
2015-11-18 13:12 ` Danny Schweizer
2015-11-19 13:28 ` Marcel Holtmann
2015-12-02 8:07 ` Danny Schweizer
2015-12-05 18:20 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2015-11-19 14:29 Danny Schweizer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564C6C35.4030305@proofnet.de \
--to=danny.schweizer@proofnet.de \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.