[ovs-git] [openvswitch/ovs] a0ca1e: rstp/stp: Unref the rstp/stp when bridges destroye...

GitHub noreply at github.com
Sat Apr 22 01:17:33 UTC 2017


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: a0ca1ed039f6a10d162e5812977a225cad9f5617
      https://github.com/openvswitch/ovs/commit/a0ca1ed039f6a10d162e5812977a225cad9f5617
  Author: nickcooper-zhangtonghao <nic at opencloud.tech>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  rstp/stp: Unref the rstp/stp when bridges destroyed.

When bridges destroyed, which stp enabled, you can
still get stp info via the command 'ovs-appctl stp/show'.
And the rstp is also in the same case. We should unref
them. The rstp/stp ports have been unregistered via
'ofproto_port_unregister' function when ports destroyed.
We will unref rstp/stp struct in the 'destruct' of
ofproto-dpif provider.

Signed-off-by: nickcooper-zhangtonghao <nic at opencloud.tech>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>




More information about the git mailing list