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

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

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