[Bridge] [PATCH net-next 0/2] bridge: spin_lock fix plus sysfs cleanup

Scott Feldman sfeldma at cumulusnetworks.com
Mon Jan 6 19:00:25 UTC 2014


The following series implements:

- br_multicast_set_hash_max() is called from process context (via sysfs)
  and needs spin_lock_bh to disable bhs.

- cleanup bridge sysfs definitions by using DEVICE_ATTR_xx macros

---

Curt Brune (1):
      bridge: use spin_lock_bh() in br_multicast_set_hash_max

Scott Feldman (1):
      bridge: use DEVICE_ATTR_xx macros


 net/bridge/br_multicast.c |    4 -
 net/bridge/br_sysfs_br.c  |  249 ++++++++++++++++++++-------------------------
 2 files changed, 110 insertions(+), 143 deletions(-)

-- 
Signature


More information about the Bridge mailing list