[Bridge] Designated port Selection

Prasenjit Manna pmanna at netd.com
Sun Aug 7 23:38:02 PDT 2005


Hi,

I have two questions:

1. br_designated_port_selection() in br_stp.c:
    In this function, the port, which is not DISABLED and
    br_should_become_designated_port, then the port is becoming
    designated port.

    Question: Why the port state(DISABLED) is checking here? According to
              standard, there should not be any checking for disabled.

2. br_stp_set_bridge_priority() in br_stp_if.c:
    In this function also, the same DISABLED checking is done.

    Question: Why the port state(DISABLED) is checking here also for
              updating the bridge priority?


Thanks and Regards,
Prasenjit



More information about the Bridge mailing list