linux/drivers/net
Aurelien Jacquiot e025091aa3 rapidio/rionet: fix deadlock on SMP
[ Upstream commit 36915976ec ]

Fix deadlocking during concurrent receive and transmit operations on SMP
platforms caused by the use of incorrect lock: on transmit 'tx_lock'
spinlock should be used instead of 'lock' which is used for receive
operation.

This fix is applicable to kernel versions starting from v2.15.

Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-18 08:51:07 -04:00
..
appletalk net/appletalk: LTPC needs virt_to_bus 2015-02-20 16:28:46 -05:00
arcnet net: Kill dev_rebuild_header 2015-03-02 16:43:41 -05:00
bonding bonding: Fix ARP monitor validation 2016-03-04 10:25:50 -05:00
caif caif: remove unused struct member 2015-04-01 12:43:09 -04:00
can can: gs_usb: fixed disconnect bug by removing erroneous use of kfree() 2016-03-17 23:14:02 -04:00
cris eth_v10: remove unnecessary break after return 2014-07-20 21:29:49 -07:00
dsa net: dsa: bcm_sf2: Do not override speed settings 2015-10-03 13:49:17 +02:00
ethernet net: mvneta: enable change MAC address when interface is up 2016-04-18 08:50:58 -04:00
fddi net: fddi: skfp: smt.c: Remove unused function 2015-01-02 16:36:07 -05:00
hamradio ax25: remove unneeded NULL test in ax_xmit() 2015-03-06 21:50:42 -05:00
hippi PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
hyperv hv_netvsc: remove unused variable in netvsc_send() 2015-05-05 17:31:09 -04:00
ieee802154 at86rf230: add slp_tr support to start tx 2015-04-30 18:48:11 +02:00
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-02 16:16:53 -04:00
irda net: irda: Fix use-after-free in irtty_open() 2016-04-18 08:50:35 -04:00
phy net: dp83640: Fix tx timestamp overflow handling. 2016-03-04 10:25:46 -05:00
plip net: plip: slight optimization of addr compare 2013-12-31 16:48:33 -05:00
ppp pppoe: fix reference counting in PPPoE proxy 2016-03-04 10:25:51 -05:00
slip ppp, slip: Validate VJ compression slot parameters completely 2016-01-31 11:23:37 -08:00
team team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid 2016-01-31 11:23:38 -08:00
usb qmi_wwan: add "4G LTE usb-modem U901" 2016-03-04 10:25:50 -05:00
vmxnet3 vmxnet3: spelling fixes 2015-04-01 22:52:29 -04:00
wan cosa: fix error return code 2015-04-07 15:21:55 -04:00
wimax kbuild: remove unnecessary "obj- := dummy.o" trick 2014-10-02 13:55:02 +02:00
wireless iwlwifi: mvm: inc pending frames counter also when txing non-sta 2016-03-17 23:13:48 -04:00
xen-netback xen-netback: respect user provided max_queues 2016-01-31 11:23:38 -08:00
dummy.c dummy: use MODULE_VERSION 2014-12-09 21:51:06 -05:00
eql.c net: better IFF_XMIT_DST_RELEASE support 2014-10-07 13:22:11 -04:00
ifb.c act_mirred: Fix bogus header when redirecting from VLAN 2015-04-17 13:29:28 -04:00
Kconfig ipvlan: Fix text that talks about ip util support 2015-02-20 16:35:44 -05:00
LICENSE.SRC Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
loopback.c net: better IFF_XMIT_DST_RELEASE support 2014-10-07 13:22:11 -04:00
macvlan.c macvlan: Propagate promiscuity setting to lower devices. 2015-05-04 00:14:13 -04:00
macvtap.c macvtap: unbreak receiving of gro skb with frag list 2015-12-09 14:03:10 -05:00
Makefile ipvlan: Initial check-in of the IPVLAN driver. 2014-11-24 15:29:18 -05:00
mdio.c mdio: unused ethtool functions 2013-12-26 13:29:35 -05:00
mii.c mii: Handle link state changes for forced modes in mii_check_media() 2015-01-19 15:43:42 -05:00
netconsole.c netconsole: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:37 -05:00
nlmon.c net: nlmon: flag nlmon devs with LLTX/SG 2014-03-28 16:49:47 -04:00
ntb_netdev.c net: use ethtool_cmd_speed_set helper to set ethtool speed value 2014-06-06 16:24:07 -07:00
rionet.c rapidio/rionet: fix deadlock on SMP 2016-04-18 08:51:07 -04:00
sb1000.c PNP: net/sb1000: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
Space.c drivers: net: Include new header file in sbni.c 2013-12-19 18:51:20 -05:00
sungem_phy.c sungem: Fix global namespace pollution of phy accessors. 2014-08-27 23:07:12 -07:00
tun.c make new_sync_{read,write}() static 2015-04-11 22:29:40 -04:00
veth.c veth: don’t modify ip_summed; doing so treats packets with bad checksums as good. 2016-01-31 11:23:35 -08:00
virtio_net.c virtio-net: drop NETIF_F_FRAGLIST 2015-12-09 14:03:13 -05:00
vxlan.c vxlan: fix test which detect duplicate vxlan iface 2016-01-31 11:23:36 -08:00
xen-netfront.c xen-netfront: update num_queues to real created 2016-01-31 11:23:38 -08:00