[ovs-git] [openvswitch/ovs] c7e4f0: ofproto-dpif: Add check in rstp_run.

GitHub noreply at github.com
Mon Oct 12 18:45:17 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c7e4f0b2c36a930e8a0a4a256f848356d730fea7
      https://github.com/openvswitch/ovs/commit/c7e4f0b2c36a930e8a0a4a256f848356d730fea7
  Author: Daniele Venturino <daniele.venturino at m3s.it>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M lib/rstp.c
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  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 at m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: e73e916510ce46af85fee4dd52127a699a244820
      https://github.com/openvswitch/ovs/commit/e73e916510ce46af85fee4dd52127a699a244820
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  rstp: Properly disable an RSTP port before deleting it.

RSTP may end up referencing stale memory if a port is removed without
disabling it first.

This patch, together with the previous patch by Daniele Venturino, was
tested to resolve a crach by Daniel Swahn.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Tested-by: Daniel Swahn <daniel.swahn at clavister.com>


Compare: https://github.com/openvswitch/ovs/compare/fdb5945136ea...e73e916510ce


More information about the git mailing list