diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-24 02:37:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-24 02:37:58 (GMT) |
commit | 48abfe05cd01279afe27159e98d7c7f932598f42 (patch) | |
tree | b2a408b97806ee86003a804734972523453b8164 /crypto/khazad.c | |
parent | 8c0469cdd08df4dacabc8ca33256ce20de43d73f (diff) | |
download | linux-fsl-qoriq-48abfe05cd01279afe27159e98d7c7f932598f42.tar.xz |
tun: Fix minor race in TUNSETLINK ioctl handling.
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>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions