Re: [PATCH] isdn: Fix a sleep-in-atomic bug

2017-05-31 Thread David Miller
From: Jia-Ju Bai Date: Wed, 31 May 2017 09:40:11 +0800 > 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 > isd

[PATCH] isdn: Fix a sleep-in-atomic bug

2017-05-30 Thread Jia-Ju Bai
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 sle