Re: [PATCH] updated, ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header

2005-03-11 Thread jamal
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

Re: [PATCH] updated, ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header

2005-03-11 Thread Stephen Hemminger
On Fri, 11 Mar 2005 17:20:22 +0300 Leo Yuriev <[EMAIL PROTECTED]> 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 d

[PATCH] updated, ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header

2005-03-11 Thread Leo Yuriev
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_pri