tun: keep link (carrier) state up to date
authorNolan Leake <nolan@cumulusnetworks.com>
Tue, 27 Jul 2010 13:53:43 +0000 (13:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 05:06:41 +0000 (22:06 -0700)
Currently, only ethtool can get accurate link state of a tap device.
With this patch, IFF_RUNNING and IF_OPER_UP/DOWN are kept up to date as
well.

Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found