vrouter sets the port incorrectly for fat flow

Bug #1521574 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Anand H. Krishnan
R2.20
Fix Committed
High
Anand H. Krishnan

Bug Description

R2.20 111 Ubuntu 14.04 Juno multinode

User had set fat flow for this port on protocol tcp, port 22

But in vrouter, the port is seen as 1 instead of 22

vif0/4 OS: tapf0773247-b9
            Type:Virtual HWaddr:00:00:5e:00:01:00 IPaddr:0
            Vrf:2 Flags:PL3L2D MTU:9160 Ref:6
            RX packets:2447 bytes:254756 errors:0
            TX packets:2492 bytes:260538 errors:0
            FatFlows: 6:1

Tags: vrouter
Revision history for this message
Anand H. Krishnan (anandhk) wrote :

Reviewed: https://review.opencontrail.org/15521
Committed: http://github.org/Juniper/contrail-vrouter/commit/a67adbda1ab6329828657f6fa457b3fdce276d37
Submitter: Zuul
Branch: R2.20

commit a67adbda1ab6329828657f6fa457b3fdce276d37
Author: Anand H. Krishnan <email address hidden>
Date: Tue Dec 1 16:40:10 2015 +0530

FatFlow: wrong port calculation

The macro to extract port from proto_port combination uses logical
and instead of binary and, resulting in wrong port calulcation.

Change-Id: Icc4c7e6038a6e15ad21f17fa03bb377b724372ac
Partial-BUG: 1518234

Revision history for this message
Anand H. Krishnan (anandhk) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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