diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-23 19:37:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-23 19:37:58 -0700 |
commit | 48abfe05cd01279afe27159e98d7c7f932598f42 (patch) | |
tree | b2a408b97806ee86003a804734972523453b8164 /fs/locks.c | |
parent | 8c0469cdd08df4dacabc8ca33256ce20de43d73f (diff) |
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 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions