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

Fix error when recurse on down the trie.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • 18.07
    • None
    • IP

      EP:

      1  . config ip address
      host-eth1 (up)

      10.1.2.60/24

      2  . config route

      10.0.0.0/8

       

      10.1.X.X—will lookup fail in mtrie(example 10.1.1.1)
      X-any

       

      when add 10.0.0.0/8 in func "set_root_leaf" will recurse on down the trie,

      and come into func "set_leaf",     a->dst_address_length is 8, old_ply->dst_address_bits_of_leaves[i] is 16,  can't  update corret adj_index to leaf.

       

            mu.duojiao duojiao mu
            mu.duojiao duojiao mu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified Time Not Required
                Not Specified