Do not overwrite the ethernet protocol if no rewrite was applied
For IP/IPv6 packets from vhost, no rewrite is applied. Hence, if
the packet has vlan headers, we end up overwriting the ether type
field of the packet to v4 or v6 depending on the layer 3 protocol
of the packet, resulting in wrong protocol type.
Reviewed: https:/ /review. opencontrail. org/30159 github. com/Juniper/ contrail- vrouter/ commit/ b42b94bc4bca8f3 81387829f6cef14 bce890c7be
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit b42b94bc4bca8f3 81387829f6cef14 bce890c7be
Author: Anand H. Krishnan <email address hidden>
Date: Wed Apr 5 11:48:24 2017 +0530
Do not overwrite the ethernet protocol if no rewrite was applied
For IP/IPv6 packets from vhost, no rewrite is applied. Hence, if
the packet has vlan headers, we end up overwriting the ether type
field of the packet to v4 or v6 depending on the layer 3 protocol
of the packet, resulting in wrong protocol type.
Change-Id: I38df332e95cdad 79cf1e0bc946ed2 c7c3e0ef526
Closes-Bug: #1645653