]> git.baikalelectronics.ru Git - kernel.git/commit
tun: Report whether the queue is attached or not
authorPavel Emelyanov <xemul@parallels.com>
Wed, 21 Aug 2013 10:32:00 +0000 (14:32 +0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:21:45 +0000 (12:21 -0700)
commitcec388a60bbe67aeb575194f6f2577791779c694
treebdc3ffa6f8ad278de357e289b585fcb683c52ebb
parent83c79e88453015550883ce9ae1462b04b7991b94
tun: Report whether the queue is attached or not

Multiqueue tun devices allow to attach and detach from its queues
while keeping the interface itself set on file.

Knowing this is critical for the checkpoint part of criu project.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c