Files
linux/drivers
Eric W. Biederman a7385ba211 tun: Fix races in tun_set_iff
It is possible for two different tasks with access to the same file
descriptor to call tun_set_iff on it at the same time and race to
attach to a tap device.  Prevent this by placing all of the logic to
attach to a file descriptor in one function and testing the file
descriptor to be certain it is not already attached to another tun
device.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-21 16:00:43 -08:00
..
2009-01-16 14:45:34 -05:00
2009-01-08 16:29:41 +00:00
…
…
2009-01-06 15:59:30 -08:00
…
2009-01-14 19:19:04 +01:00
…
2009-01-11 01:34:25 +01:00
2009-01-14 14:42:21 -08:00
2009-01-15 16:39:40 -08:00
…
2009-01-16 14:45:34 -05:00
2009-01-09 12:37:15 -08:00
2009-01-21 16:00:43 -08:00
2009-01-16 14:45:34 -05:00
2009-01-09 03:39:43 -05:00
2009-01-21 14:02:44 -08:00
…
2009-01-21 14:39:13 -08:00
…
…
…
…
…
…