diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 23:30:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 23:30:02 -0500 |
commit | 7c17d86a8502c2e30c2eea777ed1b830aa3b447b (patch) | |
tree | 353f739a33f46f9861b479e64d2a59f9b5c85868 /net/bluetooth/hci_sock.c | |
parent | 2485a4b610171f4e1c4ab0d053569747795c1bbe (diff) | |
parent | 91dce7ddab99a29b600e3d792b847dc2cdbf0848 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (69 commits)
pptp: Accept packet with seq zero
RDS: Remove some unused iWARP code
net: fsl: fec: handle 10Mbps speed in RMII mode
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: add missing iounmap
drivers/net/ethernet/tundra/tsi108_eth.c: add missing iounmap
ksz884x: fix mtu for VLAN
net_sched: sfq: add optional RED on top of SFQ
dp83640: Fix NOHZ local_softirq_pending 08 warning
gianfar: Fix invalid TX frames returned on error queue when time stamping
gianfar: Fix missing sock reference when processing TX time stamps
phylib: introduce mdiobus_alloc_size()
net: decrement memcg jump label when limit, not usage, is changed
net: reintroduce missing rcu_assign_pointer() calls
inet_diag: Rename inet_diag_req_compat into inet_diag_req
inet_diag: Rename inet_diag_req into inet_diag_req_v2
bond_alb: don't disable softirq under bond_alb_xmit
mac80211: fix rx->key NULL pointer dereference in promiscuous mode
nl80211: fix old station flags compatibility
mdio-octeon: use an unique MDIO bus name.
mdio-gpio: use an unique MDIO bus name.
...
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r-- | net/bluetooth/hci_sock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 6d94616af312..0dcc96266779 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -767,7 +767,6 @@ static int hci_sock_dev_event(struct notifier_block *this, unsigned long event, | |||
767 | /* Detach sockets from device */ | 767 | /* Detach sockets from device */ |
768 | read_lock(&hci_sk_list.lock); | 768 | read_lock(&hci_sk_list.lock); |
769 | sk_for_each(sk, node, &hci_sk_list.head) { | 769 | sk_for_each(sk, node, &hci_sk_list.head) { |
770 | local_bh_disable(); | ||
771 | bh_lock_sock_nested(sk); | 770 | bh_lock_sock_nested(sk); |
772 | if (hci_pi(sk)->hdev == hdev) { | 771 | if (hci_pi(sk)->hdev == hdev) { |
773 | hci_pi(sk)->hdev = NULL; | 772 | hci_pi(sk)->hdev = NULL; |
@@ -778,7 +777,6 @@ static int hci_sock_dev_event(struct notifier_block *this, unsigned long event, | |||
778 | hci_dev_put(hdev); | 777 | hci_dev_put(hdev); |
779 | } | 778 | } |
780 | bh_unlock_sock(sk); | 779 | bh_unlock_sock(sk); |
781 | local_bh_enable(); | ||
782 | } | 780 | } |
783 | read_unlock(&hci_sk_list.lock); | 781 | read_unlock(&hci_sk_list.lock); |
784 | } | 782 | } |