summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-01-28 00:38:02 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-01-29 20:43:03 (GMT)
commitaf668b3c276d0f958a3aa46ef8ec47e2d5d333b3 (patch)
tree68525f9d6ee11d9c1a9033001a4e106c7cb44071 /drivers/vhost
parent604dfd6efc9b79bce432f2394791708d8e8f6efc (diff)
downloadlinux-af668b3c276d0f958a3aa46ef8ec47e2d5d333b3.tar.xz
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 <mst@redhat.com> Tested-by: Jason Wang <jasowang@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Tested-by: Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions