From: Matthias Thomae <bluez@thomae-privat.de>
To: Christoph Scholz <scholz@cs.uni-bonn.de>
Cc: bluez-devel@lists.sourceforge.net, marcel@holtmann.org
Subject: Re: [Fwd: Re: [Bluez-devel] PAN and bridge problem when bnep0 disconnects before bnep1]
Date: Fri, 14 May 2004 10:18:00 +0200 [thread overview]
Message-ID: <40A480B8.2050400@thomae-privat.de> (raw)
In-Reply-To: <1084467658.2322.37.camel@willie.informatik.uni-bonn.de>
Hi Christoph, Marcel, all,
Christoph Scholz wrote:
>>Aha. These MAC addresses seem to be used in the forwarding database.
>>Maybe setting the ageing time to 0 (man brctl) would help...
>
>
> I don't think so. The problem is that the code assumes that MAC
> addresses are unique. Even if there are multiple Bluetooth BNEP devices,
> there will only be one entry in the forwarding database. When one of the
> devices is removed, this entry in the forwarding database is also
> removed.
You are right, setting ageing 0 doesn't help.
>><shemminger@osdl.org>
>> [BRIDGE]: Forwarding database changes.
>>
>> Make forwarding database more robust.
>> + Don't insert invalid ether address,
>> + Report errors back so adding an interface to bridge can fail
>> + get rid of unneeded explicit pads in data structure
>> + replace bitfields with byte's for simple booleans.
>>
>>Maybe that fixes our problem? I might be able to try 2.6.6 and the
>>ageing timer tonight...
2.6.6 (-mh1) didn't help either...
> I am not sure but I would guess that the problem is still there. The
> same warning can be found in br_fdb.c in 2.6.6:
>
> printk(KERN_INFO "%s: attempt to add" " interface with same source add
> ress.\n", source->dev->name);
I also tried the patch that Diego Liziero mentioned in his post, but it
didn't help either...
> I have not written to to the bridge people. My personal opinion is that
> BlueZ should do the forwarding (like Affix does). You can argue about
> that of course.
I don't have a competent opinion about that (except: it's not only the
forwarding problem, but also DHCP, right?), and don't know what Affix does.
Marcel, what do you think? Is there any sense to contact the bridge people?
Regards.
Matthias
next prev parent reply other threads:[~2004-05-14 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 17:00 [Fwd: Re: [Bluez-devel] PAN and bridge problem when bnep0 disconnects before bnep1] Christoph Scholz
2004-05-14 8:18 ` Matthias Thomae [this message]
2004-05-14 13:04 ` David Woodhouse
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=40A480B8.2050400@thomae-privat.de \
--to=bluez@thomae-privat.de \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
--cc=scholz@cs.uni-bonn.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox