linux/drivers/isdn/i4l
Jia-Ju Bai e8f4ae8543 isdn: Fix a sleep-in-atomic bug
The driver may sleep under a spin lock, the function call path is:
isdn_ppp_mp_receive (acquire the lock)
  isdn_ppp_mp_reassembly
    isdn_ppp_push_higher
      isdn_ppp_decompress
        isdn_ppp_ccp_reset_trans
          isdn_ppp_ccp_reset_alloc_state
            kzalloc(GFP_KERNEL) --> may sleep

To fixed it, the "GFP_KERNEL" is replaced with "GFP_ATOMIC".

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-31 14:38:10 -04:00
..
isdn_audio.c
isdn_audio.h
isdn_bsdcomp.c
isdn_common.c
isdn_common.h
isdn_concap.c isdn: use designated initializers 2016-12-17 11:56:57 -05:00
isdn_concap.h
isdn_net.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
isdn_net.h
isdn_ppp.c isdn: Fix a sleep-in-atomic bug 2017-05-31 14:38:10 -04:00
isdn_ppp.h
isdn_tty.c isdn: use setup_timer 2017-03-24 12:33:42 -07:00
isdn_tty.h
isdn_ttyfax.c
isdn_ttyfax.h
isdn_v110.c
isdn_v110.h
isdn_x25iface.c isdn: use designated initializers 2016-12-17 11:56:57 -05:00
isdn_x25iface.h
isdnhdlc.c
Kconfig isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00
Makefile