[ovs-git] [openvswitch/ovs] 254878: ofproto-dpif-xlate: Fix segmentation fault caused ...

GitHub noreply at github.com
Fri May 4 05:43:48 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 254878c18874f6cb43a7601427d0cc30834ab64a
      https://github.com/openvswitch/ovs/commit/254878c18874f6cb43a7601427d0cc30834ab64a
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2018-05-03 (Thu, 03 May 2018)

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

  Log Message:
  -----------
  ofproto-dpif-xlate: Fix segmentation fault caused by tun_table

Currently, the revalidator thread may hit segmentation fault when geneve
TLV map is updated.  It is because we may store the old TLV map (struct
tun_table) in the frozen state for recirculation, and we may access the
already freed old tun_table in xlate_actions().

This patch update the logic of getting tun_table so that we will use
the latest tun_table instead of the frozen one.

VMWare-BZ: #2106987
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list