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

Simon Horman noreply at github.com
Wed Apr 21 12:55:46 UTC 2021

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