Uploaded image for project: 'EtherNet/IP Core V3'
  1. EtherNet/IP Core V3
  2. PSEIP-1145

Incorrect CIP_PDC_CONNECTION_CFG_T:bMaxConnectionCnt handling enables additional PDC connections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V3.9.0.11, V3.10.0.0, V3.10.2.0
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      EIP-Backlog
    • Account:
      SPC EthernetIp Core (SPCETHERNET)

      Description

      The field CIP_PDC_CONNECTION_CFG_T:bMaxConnectionCnt allows to limit the number of parallel connnections that can open a connection endpoint of the PDC object. Exclusive owner connections are naturally limited to a value of 1 but for listen-only and input-only, this parameter can be used to further partition the overall supported number of I/O transports on a per-connection basis.

      A bug has been discovered with the implementation resulting in the following error pattern.

      If, e.g., an input-only connection has aleady been opened bMaxConnectionCnt times, the subsequent connection attempt fails as expected with error code GSR_NO_RESOURCE. Another attempt however will succeed after that, due to a bad system state being caused in the previous GSR_NO_RESOURCE error path.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    MBommert Marc Bommert [X] (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: