]> err.no Git - linux-2.6/blobdiff - drivers/net/bonding/bond_3ad.c
ide: ide_unregister() warm-plug bugfix
[linux-2.6] / drivers / net / bonding / bond_3ad.c
index 457d81f73e3926a32fcc472da2a26b0dc822b5f5..ebb539e090c35685e8a02215e1dc9e3dcd4fb32d 100644 (file)
@@ -310,7 +310,7 @@ static inline int __check_agg_selection_timer(struct port *port)
  */
 static inline void __get_rx_machine_lock(struct port *port)
 {
-       spin_lock(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
+       spin_lock_bh(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
 }
 
 /**
@@ -320,7 +320,7 @@ static inline void __get_rx_machine_lock(struct port *port)
  */
 static inline void __release_rx_machine_lock(struct port *port)
 {
-       spin_unlock(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
+       spin_unlock_bh(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
 }
 
 /**