commit 13aaa37feb3cc1016dcfa6b63f016e827db65780
Author: Divakar D <email address hidden>
Date: Fri Oct 21 11:38:47 2016 +0530
Calcaulte udp source port for multicast pkt using right hash
While calculating the UDP source port for a multicast packet, the hash
needs to be on Ethernet header and VRF Id. For packet arriving from VM
and Tor, there are no extra header other than transport headers. So the
hash is calculated rightly for these packets. But for packets arriving
from other compute node, there are additional header other than
transport headers. The hash is wrongly calculated in this case on thsese
additional headers leading to different hash for the same Ethernet
headers, resulting in different UDP sourcd port.
The offset is correctly calculated and right ethernet header is passed
to hash function as fix.
Reviewed: https:/ /review. opencontrail. org/25125 github. org/Juniper/ contrail- vrouter/ commit/ 13aaa37feb3cc10 16dcfa6b63f016e 827db65780
Committed: http://
Submitter: Zuul
Branch: master
commit 13aaa37feb3cc10 16dcfa6b63f016e 827db65780
Author: Divakar D <email address hidden>
Date: Fri Oct 21 11:38:47 2016 +0530
Calcaulte udp source port for multicast pkt using right hash
While calculating the UDP source port for a multicast packet, the hash
needs to be on Ethernet header and VRF Id. For packet arriving from VM
and Tor, there are no extra header other than transport headers. So the
hash is calculated rightly for these packets. But for packets arriving
from other compute node, there are additional header other than
transport headers. The hash is wrongly calculated in this case on thsese
additional headers leading to different hash for the same Ethernet
headers, resulting in different UDP sourcd port.
The offset is correctly calculated and right ethernet header is passed
to hash function as fix.
Change-Id: I93ae0d96e53687 5988da6a525cdba 4783c1e4d6e
closes-bug: #1635046