[ovs-git] [openvswitch/ovs] 0506f1: xlate: fix packets loopback caused by duplicate re...

GitHub noreply at github.com
Thu Feb 1 19:36:09 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0506f184c53e90ef8abf7da5ea0d82ca92bbea22
  Author: Huanle Han <hanxueluo at gmail.com>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  xlate: fix packets loopback caused by duplicate read of xcfgp.

Some functions, such as xlate_normal_mcast_send_mrouters, test xbundle
pointers equality to avoid sending packet back to in bundle. However,
xbundle pointers port from different xcfgp for same port are inequal.
This may lead to the packet loopback.

This commit stores xcfgp on ctx at first and always uses the same xcfgp
during one packet process period.

Signed-off-by: Huanle Han <hanxueluo at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list