[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1444679225-7354-1-git-send-email-razor@blackwall.org>
Date:	Mon, 12 Oct 2015 21:47:01 +0200
From:	Nikolay Aleksandrov <razor@...ckwall.org>
To:	netdev@...r.kernel.org
Cc:	shm@...ulusnetworks.com, roopa@...ulusnetworks.com,
	stephen@...workplumber.org, bridge@...ts.linux-foundation.org,
	davem@...emloft.net, idosch@...lanox.com,
	Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH net-next v2 0/4] bridge: vlan: cleanups & fixes (part 3)
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Hi,
Patch 01 converts the vlgrp member to use rcu as it was already used in a
similar way so better to make it official and use all the available RCU
instrumentation. Patch 02 fixes a bug where the vlan_list can be traversed
without rtnl or rcu held which could lead to using freed entries.
Patch 03 removes some redundant code that isn't needed anymore.
Patch 04 fixes a bug reported by Ido Schimmel about the vlan_flush order
and switchdevs, it moves it back.
v2: patch 03 and 04 are new, couldn't escape the second synchronize_rcu()
since the rhtable destruction can sleep
Thank you,
 Nik
Nikolay Aleksandrov (4):
  bridge: vlan: use proper rcu for the vlgrp member
  bridge: vlan: use rcu for vlan_list traversal in br_fill_ifinfo
  bridge: vlan: drop unnecessary flush code
  bridge: vlan: move back vlan_flush
 net/bridge/br_device.c  |   2 +-
 net/bridge/br_forward.c |   6 +--
 net/bridge/br_if.c      |   3 +-
 net/bridge/br_input.c   |   4 +-
 net/bridge/br_netlink.c |  25 +++++----
 net/bridge/br_private.h |  33 ++++++++++--
 net/bridge/br_vlan.c    | 133 ++++++++++++++++++++++++++++++------------------
 7 files changed, 135 insertions(+), 71 deletions(-)
-- 
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
