Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751504AbaDXFZM (ORCPT ); Thu, 24 Apr 2014 01:25:12 -0400 Received: from 1wt.eu ([62.212.114.60]:32922 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751244AbaDXFZK (ORCPT ); Thu, 24 Apr 2014 01:25:10 -0400 Date: Thu, 24 Apr 2014 07:24:47 +0200 From: Willy Tarreau To: zhuyj Cc: Ben Hutchings , "David S. Miller" , netdev@vger.kernel.org, joe@perches.com, julia.lawall@lip6.fr, dingtianhong@huawei.com, linux-kernel@vger.kernel.org, jasowang@redhat.com, mst@redhat.com, "Yang, Zhangle (Eric)" , "Wu, Kuaikuai" , "Tao, Yue" Subject: Re: in kernel 2.6.x, tun/tap nic supports vlan packets Message-ID: <20140424052447.GC17409@1wt.eu> References: <534F4C1E.1000006@gmail.com> <20140417050228.GC8243@1wt.eu> <1398189237.7767.77.camel@deadeye.wl.decadent.org.uk> <53577036.2040307@gmail.com> <1398253309.7767.136.camel@deadeye.wl.decadent.org.uk> <53587280.4020101@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53587280.4020101@gmail.com> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 24, 2014 at 10:10:08AM +0800, zhuyj wrote: > On 04/23/2014 07:41 PM, Ben Hutchings wrote: > >On Wed, 2014-04-23 at 15:48 +0800, zhuyj wrote: > >>On 04/23/2014 01:53 AM, Ben Hutchings wrote: > >[...] > >>>For what it's worth, I would recommend against applying this. I don't > >>>think even Red Hat has backported the VLAN changes, and they have been > >>>quite aggressive about backporting features to RHEL 6. > >>If we do not merge these patches, maybe RHEL 6 can not make tap driver > >>support vlan well. > >RHEL 6 isn't based on 2.6.32.y, they do all their own backporting. > Hi, Ben > > It is well known that extraction vlan tag is not implemented in kernel > 2.6.32.y. Kernel 2.6.32.y depends on nic hardware to extract vlan tag. > So if the patches are not applied, tap driver can not support vlan well. What Ben is saying is that RHEL doesn't use 2.6.32.y, but did their own fork of 2.6.32 so even if we merged your patch, they wouldn't pick it from this tree anyway. However they could possibly take your patch if some customers requested the feature even if it's not in 2.6.32.y. Clearly, the fact that nobody complained about this in 4.5 years of 2.6.32 means that there's no particular reason any user would suddenly miss it now. 2.6.32.y is mostly used to update existing deployments but rarely for new deployments. That's why the usefulness of your backport in this kernel for its users is likely limited, and at the same time the risk of causing a regression is far from being null for existing users (eg: if some worked around the issue a different way, their workaround would likely not work anymore). Best regards, Willy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/