Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-851

Multiple calls to Drv_EddRegisterEthCb() with same ethertype

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.1.11.0, V2.1.11.1, V2.1.11.2, V2.1.11.3, V2.1.11.4, V2.1.11.5, V2.1.11.6, V2.1.11.7, V2.1.11.8, V2.1.11.9, V2.1.11.10, V2.1.11.11
    • Fix Version/s: V2.1.12.0
    • Component/s: Drivers
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      If Drv_EddRegisterEthCb() is called with an ethertype parameter value which has already been registered by a previous call to the function, then the function succeeds and registers the callback as requested.

      However, when received frames are dispatched among the registered callbacks, then the first match wins and will be dispatched the frame, so the callback registered later in time is useless.

      It pretty much would make sense to reject a callback registration for an already registered ethertype with a meaningful error code.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  AMinor Alexander Minor
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: