flow utility shows incorrect IP for IPv6 flows

Bug #1543389 reported by amit surana
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Anand H. Krishnan

Bug Description

Flow entry is wrong when a VM pings a destination learnt via BGPaaS VM. Fd66::4 is pinging 2001:db8:0:f102::1 (which was learnt via BGPaaS VM). The pings work fine and packets on the wire are v6 packets. However, flow entry looks corrupted.

 380420<=>108444 fd66::4:4056 58 (15)
                         2001:db8:0:f102::1:129
    (K(nh):115, Action:F, Flags:, E:0, S(nh):115, Statistics:2/236 UdpSrcPort 53480

   108444<=>380420 192.168.0.2:4056 58 (15)
                         fd66::4:129
    (K(nh):115, Action:F, Flags:, S(nh):30, Statistics:2/236 UdpSrcPort 51010

amit surana (asurana-t)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/17078
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17078
Committed: http://github.org/Juniper/contrail-vrouter/commit/3e492d86c84b9bc7310c6acb58b18d8741dc0fd5
Submitter: Zuul
Branch: master

commit 3e492d86c84b9bc7310c6acb58b18d8741dc0fd5
Author: Anand H. Krishnan <email address hidden>
Date: Wed Feb 10 15:32:27 2016 +0530

Expand the local buffer to hold ipv6 address string

The buffer that is used to hold the string that represents the ipv6
address is only 16bytes strong. Expand it to INET6_ADDRSTRLEN (or
46 bytes) in size.

Change-Id: I063f6f85ef9a0a0021d21b5602b40383d0382a1b
Closes-BUG: #1543389

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.