| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header] |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 7 Mar 2005 10:50:36 -0800 |
| Cc: | Ben Greear <greearb@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <422C9A92.6040902@trash.net> |
| Organization: | Open Source Development Lab |
| References: | <20050305141225.GA5180@xi.wantstofly.org> <20050307100744.429e100a@dxpl.pdx.osdl.net> <422C9A92.6040902@trash.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Mon, 07 Mar 2005 19:16:50 +0100 Patrick McHardy <kaber@xxxxxxxxx> wrote: > Stephen Hemminger wrote: > >> > >>This small patch does this. Currently vlan_TCI-priority directly > >>mapped to skb->priority, but this looks enough. > > > > I don't see why the VLAN code doesn't handle this itself. I don't like > > special > > case layer violations because it becomes a slippery slope with more and > > more additions. > > The patch is meant for bridges briging vlan frames without doing > vlan themselves. I agree with you, from the bridge point of view > a vlan header is just as outside of its scope as an IP header, > that's why I proposed to put it in an ebtables target and make > it useable for vlan and IP. That's much better. Leave the protocol violations to netfilter modules where they belong ;-) |
| Previous by Date: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header], Patrick McHardy |
|---|---|
| Next by Date: | Re: r8169: panic on 2.6.11, Stephen Hemminger |
| Previous by Thread: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header], Patrick McHardy |
| Next by Thread: | Do you know the linux TCP stack?, Zdenek Radouch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |