From: David S. Miller Date: Thu, 24 Apr 2008 02:37:58 +0000 (-0700) Subject: tun: Fix minor race in TUNSETLINK ioctl handling. X-Git-Tag: v2.6.26-rc1~1088^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48abfe05cd01279afe27159e98d7c7f932598f42;p=pandora-kernel.git 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 --- Reading git-diff-tree failed