Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1387

NAT44:outside address index may be wrong when free outside address and port

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • 18.07
    • S-NAT
    • None

      The index of valid elements in vector will change when deleting vector elements.

      In twice_nat and snat flow, vpp will alloc outside address and port for session, and save the outside address index in session. When delete one (dynamic)session, vpp will free the port of outside address for the session. 

      But now, the outside address index which saved in session may be wrong because of deleting other outside address before. 

      This problem will cause vpp to thrown an exception.

            icecream shubing guo
            icecream shubing guo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: