netdev
[Top] [All Lists]

Re: [PATCH] updated, ethernet-bridge: update skb->priority in case forwa

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] updated, ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header
From: jamal <hadi@xxxxxxxxxx>
Date: 11 Mar 2005 13:34:37 -0500
Cc: "leo.yuriev.ru" <leo@xxxxxxxxx>, Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>, Patrick McHardy <kaber@xxxxxxxxx>, Ben Greear <greearb@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20050311093724.6c8b6a6d@xxxxxxxxxxxxxxxxx>
Organization: jamalopolous
References: <914610115.20050311172022@xxxxxxxxx> <20050311093724.6c8b6a6d@xxxxxxxxxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Actually there is a case to be made for this to be part of the
bridge code. A VLAN is a single collision domain which is mappable to a
collission domain that is a bridge.
infact the old VLAN code written by Lennert (and somebody else) had
those two intermingled.

cheers,
jamal

On Fri, 2005-03-11 at 12:37, Stephen Hemminger wrote:
> On Fri, 11 Mar 2005 17:20:22 +0300
> Leo Yuriev <leo@xxxxxxxxx> wrote:
> 
> > Kernel 2.6 (2.6.11)
> > 
> > When ethernet-bridge forward a packet and such ethernet-frame has
> > VLAN-tag, bridge should update skb->prioriry for properly QoS
> > handling. This small patch does this.
> > 
> > Based upon discussion during last week I added pskb_may_pull()
> > checking and simple mapping from 802.1p/user_priority to skb->priority.
> > 
> > Patch-by: Leo Yuriev <leo@xxxxxxxxx>
> 
> Do this as an ebtables module please.
> 


<Prev in Thread] Current Thread [Next in Thread>