[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151217.152629.1069959159227242440.davem@davemloft.net>
Date: Thu, 17 Dec 2015 15:26:29 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, curtw@...gle.com
Subject: Re: [PATCH net-next] tun: honor IFF_UP in tun_get_user()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 16 Dec 2015 08:57:37 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> If a tun interface is turned down, we should not allow packet injection
> into the kernel.
>
> Kernel does not send packets to the tun already.
>
> TUNATTACHFILTER can not be used as only tun_net_xmit() is taking care
> of it.
>
> Reported-by: Curt Wohlgemuth <curtw@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
This looks fine, applied, thanks Eric.
--
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