Thread (3 messages) flat view 3 messages, 3 authors, 2005-03-11

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

From: jamal <hidden>
Date: 2005-03-11 18:49:55
Also in: lkml

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 [off-list ref] wrote:
quoted
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 [off-list ref]
Do this as an ebtables module please.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help