[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130612.150744.527671463418307561.davem@davemloft.net>
Date: Wed, 12 Jun 2013 15:07:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...allels.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tun: Report "persist" flag to userspace
From: Pavel Emelyanov <xemul@...allels.com>
Date: Tue, 11 Jun 2013 14:41:24 +0400
> The TUN_PERSIST flag is not reported at all -- both TUNGETIFF, and sysfs
> "flags" attribute skip one. Knowing whether a device is persistent or not
> is critical for checkpoint-restore, thus I propose to add the read-only
> IFF_PERSIST one for this.
>
> Setting this new IFF_PERSIST is hardly possible, as TUNSETIFF doesn't check
> for unknown flags being zero and thus there can be trash.
>
> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists