kernel-fxtec-pro1x/net/caif
sjur.brandeland@stericsson.com b01377a420 caif: Bugfix list_del_rcu race in cfmuxl_ctrlcmd.
Always use cfmuxl_remove_uplayer when removing a up-layer.
cfmuxl_ctrlcmd() can be called independently and in parallel with
cfmuxl_remove_uplayer(). The race between them could cause list_del_rcu
to be called on a node which has been already taken out from the list.
That lead to a (rare) crash on accessing poisoned node->prev inside
list_del_rcu.

This fix ensures that deletion are done holding the same lock.

Reported-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-02 14:35:12 -05:00
..
caif_dev.c net caif: Register properly as a pernet subsystem. 2012-01-27 21:06:03 -05:00
caif_socket.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
caif_usb.c caif: Fix typo in Vendor/Product-ID for CAIF modems 2012-01-17 10:46:55 -05:00
cfcnfg.c net caif: Register properly as a pernet subsystem. 2012-01-27 21:06:03 -05:00
cfctrl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfdbgl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfdgml.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cffrml.c percpu: Remove irqsafe_cpu_xxx variants 2011-12-22 10:40:20 -08:00
cfmuxl.c caif: Bugfix list_del_rcu race in cfmuxl_ctrlcmd. 2012-02-02 14:35:12 -05:00
cfpkt_skbuff.c caif: Add support for CAIF over CDC NCM USB interface 2011-12-05 18:27:56 -05:00
cfrfml.c caif: Bad assert triggering false positive. 2011-12-06 17:21:47 -05:00
cfserl.c caif: Remove unused enum and parameter in cfserl 2011-11-30 23:30:48 -05:00
cfsrvl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfutill.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfveil.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
cfvidl.c caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
chnl_net.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00
Kconfig caif: Add support for CAIF over CDC NCM USB interface 2011-12-05 18:27:56 -05:00
Makefile caif: Add support for CAIF over CDC NCM USB interface 2011-12-05 18:27:56 -05:00