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

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

  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 68f515ca3e955c26187b85f4907b9f1b41a0d09f
  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