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

GitHub noreply at github.com
Fri May 4 05:44:15 UTC 2018


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: fb26054daaae8bbf73c5b5398d5c6174397c72d5
      https://github.com/openvswitch/ovs/commit/fb26054daaae8bbf73c5b5398d5c6174397c72d5
  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