git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c0469c
)
tun: Fix minor race in TUNSETLINK ioctl handling.
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2008 02:37:58 +0000
(19:37 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2008 02:37:58 +0000
(19:37 -0700)
Noticed by Alan Cox.
The IFF_UP test is a bit racey, because other entities
outside of this driver's ioctl handler can modify that
state, even though this ioctl handler runs under
lock_kernel().
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found