projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irda: add missing BKL in irnet_ppp ioctl
[deliverable/linux.git]
/
net
/
irda
/
irnet
/
irnet_ppp.c
diff --git
a/net/irda/irnet/irnet_ppp.c
b/net/irda/irnet/irnet_ppp.c
index 7c22c126f0eadbd1eaceb388e5787b3a8b501524..6b3602de359ae556761ec10effa42151c0a92817 100644
(file)
--- a/
net/irda/irnet/irnet_ppp.c
+++ b/
net/irda/irnet/irnet_ppp.c
@@
-698,9
+698,11
@@
dev_irnet_ioctl(
/* Query PPP channel and unit number */
case PPPIOCGCHAN:
+ lock_kernel();
if(ap->ppp_open && !put_user(ppp_channel_index(&ap->chan),
(int __user *)argp))
err = 0;
+ unlock_kernel();
break;
case PPPIOCGUNIT:
lock_kernel();
This page took
0.025938 seconds
and
5
git commands to generate.