From: Michael S. Tsirkin Date: Mon, 28 Jan 2013 00:38:02 +0000 (+0000) Subject: tun: fix carrier on/off status X-Git-Tag: v3.8-rc7~2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af668b3c276d0f958a3aa46ef8ec47e2d5d333b3;p=pandora-kernel.git tun: fix carrier on/off status Commit c8d68e6be1c3b242f1c598595830890b65cea64a removed carrier off call from tun_detach since it's now called on queue disable and not only on tun close. This confuses userspace which used this flag to detect a free tun. To fix, put this back but under if (clean). Signed-off-by: Michael S. Tsirkin Tested-by: Jason Wang Acked-by: Jason Wang Tested-by: Toralf Förster Signed-off-by: David S. Miller --- Reading git-diff-tree failed