Jan Engelhardt wrote:I had a similar problem while trying to implement virtual routers using different routing tables and something like 'veth' to connect them. My solution was to add a 'mark' field to the netdevice and allow user-space to set the mark on the device. This mark was included as part of the connection identifier. The mark is set before the pkt hits the bridge code on ingress, so a pkt entering from eth1 can get a different connection hash from a pkt entering eth2, even if all other data in the packet is the same. I'll dig it out of my monster patch if something like this is deemed useful upstream. Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Martin Michlmayr | Network slowdown due to CFS |
| Ingo Molnar | Re: x86 arch updates also broke s390 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
