mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
irda: unbalanced lock_kernel in irnet_ppp
Add the missing unlock_kernel in one ioctl operation. Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fdd3d631cd
commit
454debe45c
1 changed files with 2 additions and 1 deletions
|
|
@ -706,7 +706,8 @@ dev_irnet_ioctl(
|
|||
lock_kernel();
|
||||
if(ap->ppp_open && !put_user(ppp_unit_number(&ap->chan),
|
||||
(int __user *)argp))
|
||||
err = 0;
|
||||
err = 0;
|
||||
unlock_kernel();
|
||||
break;
|
||||
|
||||
/* All these ioctls can be passed both directly and from ppp_generic,
|
||||
|
|
|
|||
Loading…
Reference in a new issue