commit | 48abfe05cd01279afe27159e98d7c7f932598f42 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Apr 23 19:37:58 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 23 19:37:58 2008 -0700 |
tree | b2a408b97806ee86003a804734972523453b8164 | |
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>