[patch net-next-2.6] bridge: allow hub-like behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hello
very useful option i must say
i was looking for something like this for quiet a while and now i have a few comments/question
 
1.after initially not being able to find this solution i started looking at the code thinking that a small modification might do the trick
under br_input.c (kernel 2.6.18) around line 58 there is a section that starts with
"if (br->dev->flags & IFF_PROMISC)
{
 ..
br_pass_frame_up(br,skb2));
..
}
"
to my understanding this should have then the job, all i needed to do was set the bridge to promsicous mode
that didn't work,
did i get it wrong? what is the meaning of this piece of code
 
2. why is this working? what is the logic behind it (ageing=0)
3. why isn't this documented?
 
finding this thread took a long time and along the way i read other people's forum posts\mailing list questions,
too bad it's not in the man
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google Powered by Linux