Looks right, Neale thinks it looks right.

Simple question: who’s going to push the patch? I’ll do it if nobody else wants 
to...

Thanks... Dave

From: [email protected] <[email protected]> On Behalf Of Jon Loeliger via 
Lists.Fd.Io
Sent: Tuesday, December 3, 2019 12:50 PM
To: Rajith PR <[email protected]>
Cc: [email protected]
Subject: Re: [vpp-dev] Ipv6 neighbor not getting discovered

On Tue, Dec 3, 2019 at 10:09 AM Rajith PR 
<[email protected]<mailto:[email protected]>> wrote:
Hello Team,

During integration of our software with VPP 19.08 we have found that ipv6 
neighbor does not get discovered on first sw_if_index on which ipv6 is enabled.

Do you have a small test case available?


Based on our understanding, "0" is a valid adjacency index. After changing the 
code as below the problem seems to have been solved.

      else
    {
      adj_index0 = radv_info->mcast_adj_index;
      if (adj_index0 == ADJ_INDEX_INVALID )

        error0 = ICMP6_ERROR_DST_LOOKUP_MISS;
        else
        {
          next0 =
            is_dropped ? next0 :
            ICMP6_ROUTER_SOLICITATION_NEXT_REPLY_RW;
              vnet_buffer (p0)->ip.adj_index[VLIB_TX] =
            adj_index0;
        }
    }

Is this fix correct?
I think this is correct.

If yes, can this be fixed in the master branch please.

Thanks,

Rajith

HTH,
jdl

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14776): https://lists.fd.io/g/vpp-dev/message/14776
Mute This Topic: https://lists.fd.io/mt/65768746/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to