mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
ofproto-dpif: Add check in rstp_run.
Check if old_root_aux and new_root_aux are null before invoking bundle_move() on them. Signed-off-by: Daniele Venturino <daniele.venturino@m3s.it> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
committed by
Jarno Rajahalme
parent
fdb5945136
commit
c7e4f0b2c3
@@ -280,6 +280,8 @@ rstp_create(const char *name, rstp_identifier bridge_address,
|
||||
rstp->aux = aux;
|
||||
rstp->changes = false;
|
||||
rstp->begin = true;
|
||||
rstp->old_root_aux = NULL;
|
||||
rstp->new_root_aux = NULL;
|
||||
|
||||
ovs_refcount_init(&rstp->ref_cnt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user