[ovs-git] [openvswitch/ovs] 798a40: ofproto/ofproto-dpif-sflow: Check sflow agent in c...

Simon Horman noreply at github.com
Wed Apr 21 12:59:37 UTC 2021

  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: 798a40ffb6b8702630c8c1298a43bcd9ec399259
  Author: Gavin Li <gavinl at nvidia.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

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

  Log Message:
  ofproto/ofproto-dpif-sflow: Check sflow agent in case of race

sFlow agent may not exist while calling dpif_sflow_received. The sFlow
may be deleted in another thread, eg, by user, which will cause crash.

Signed-off-by: Gavin Li <gavinl at nvidia.com>
Reviewed-by: Gavi Teitz <gavi at nvidia.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>

More information about the git mailing list