Re: Invalid BPDU transmission?

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

 



Both CONFIG and TCN BPDUs are used only in STP compatibility mode. In
RSTP mode, the BPDUs sent in both directions are RSTP BPDUs. So they
can be sent on the root port.

For a description of how topology changes are handled, see the section
titled "New Topology Change Mechanisms" in
http://www.cisco.com/en/US/tech/tk389/tk621/technologies_white_paper09186a0080094cfa.shtml

Is this causing any particular issue?

On Tue, Oct 5, 2010 at 3:24 PM, Rodolfo Giometti <giometti@xxxxxxxxxxxx> wrote:
> Hello,
>
> in function STP_transmit_check_conditions (rstplib/transmit.c) the
> case:
>
>    case IDLE:
>      if (!port->helloWhen) return STP_hop_2_state (this,
>      TRANSMIT_PERIODIC);
>      if (!port->sendRSTP && port->newInfo &&
>          (port->txCount < TxHoldCount) &&
>          (port->role == DesignatedPort) &&
>          port->helloWhen)
>        return STP_hop_2_state (this, TRANSMIT_CONFIG);
>      if (!port->sendRSTP && port->newInfo &&
>          (port->txCount < TxHoldCount) &&
>          (port->role == RootPort) &&
>          port->helloWhen)
>        return STP_hop_2_state (this, TRANSMIT_TCN);
>      if (port->sendRSTP && port->newInfo &&
>          (port->txCount < TxHoldCount) &&
>          ((port->role == RootPort) ||         <----
>           (port->role == DesignatedPort)))
>        return STP_hop_2_state (this, TRANSMIT_RSTP);
>      break;
>
> states that a RSTP bpdu can be transmitted even throught a RootPort
> which, IMHO, is not correct... only topology change BPDU should be
> sent over the RootPort. That's why I suggest to remove the line with
> the arrow (<----).
>
> Comments? :)
>
> Ciao,
>
> Rodolfo
>
> --
>
> GNU/Linux Solutions                  e-mail: giometti@xxxxxxxxxxxx
> Linux Device Driver                          giometti@xxxxxxxx
> Embedded Systems                     phone:  +39 349 2432127
> UNIX programming                     skype:  rodolfo.giometti
> Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
> _______________________________________________
> Bridge mailing list
> Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge



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

  Powered by Linux