If mirroring is enabled on analyzing VM's port itself, one copy of the
original packet gets mirrored to that port. But this mirrored packet
should not be mirroed again. Right now without verifying whether the
packet is mirrored or not, it is attempted for mirroring again.
When a packet is mirrored it is marked with flag VP_FLAG_FROM_DP. If
this flag is set it is not mirrored again.
Reviewed: https:/ /review. opencontrail. org/17992 github. org/Juniper/ contrail- vrouter/ commit/ 0abcc4dbc42246e 148ba74ef7d8582 5738fa0ece
Committed: http://
Submitter: Zuul
Branch: master
commit 0abcc4dbc42246e 148ba74ef7d8582 5738fa0ece
Author: Divakar <email address hidden>
Date: Fri Feb 26 11:21:58 2016 +0530
Dont mirror the same packet again
If mirroring is enabled on analyzing VM's port itself, one copy of the
original packet gets mirrored to that port. But this mirrored packet
should not be mirroed again. Right now without verifying whether the
packet is mirrored or not, it is attempted for mirroring again.
When a packet is mirrored it is marked with flag VP_FLAG_FROM_DP. If
this flag is set it is not mirrored again.
Change-Id: Ie4cca916945878 b77bc4db7666992 f3933db3e13
closes-bug: #1549761