New: sch_teql no longer works post 2.6.30
Subsystems (2)
Begin forwarded message:
Date: Fri, 11 Jun 2010 15:56:44 GMT
From: [email protected]
To: [email protected]
Subject: [Bug 16183] New: sch_teql no longer works post 2.6.30
https://bugzilla.kernel.org/show_bug.cgi?id=16183
Summary: sch_teql no longer works post 2.6.30
Product: Networking
Version: 2.5
Kernel Version: 2.6.31 through 2.6.34
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: IPV4
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: YesCreated an attachment (id=26729)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26729)
Patch to fix sch_teql
The sch_teql module, which can be used to load balance over a set of underlying interfaces, stopped working after 2.6.30 and has been broken in all kernels since then.
The problem is that the transmit routine relies on being able to access the destination address in the skb in order to do ARP resolution once it has decided which underlying interface it is going to transmit through.
In 2.6.31 the IFF_XMIT_DST_RELEASE flag was introduced, and set by default for all interfaces, which causes the destination address to be release before the transmit routine for the interface is called.
The solution (implemented in the attached patch) is to clear that flag for teql interfaces.
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --
Eric Dumazet
Acked-byQuoted 39 lines · Stephen Hemminger
Begin forwarded message:
Date: Fri, 11 Jun 2010 15:56:44 GMT
From: [email protected]
To: [email protected]
Subject: [Bug 16183] New:sch_teqlno longer works post 2.6.30https://bugzilla.kernel.org/show_bug.cgi?id=16183
Summary: sch_teql no longer works post 2.6.30 Product: Networking Version: 2.5 Kernel Version: 2.6.31 through 2.6.34 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: IPV4 AssignedTo: [email protected] ReportedBy: [email protected] Regression: YesCreated an attachment (id=26729)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26729)
Patch to fixsch_teqlThe
sch_teqlmodule, which can be used to load balance over a set of underlying interfaces, stopped working after 2.6.30 and has been broken in all kernels since then.The problem is that the transmit routine relies on being able to access the destination address in the skb in order to do ARP resolution once it has decided which underlying interface it is going to transmit through.
Quoted 13 lines
In 2.6.31 the
IFF_XMIT_DST_RELEASEflag was introduced, and set by default for all interfaces, which causes the destination address to be release before the transmit routine for the interface is called.The solution (implemented in the attached patch) is to clear that flag for teql interfaces.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
Please note my old email address no longer works ;)
Thanks