Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 51e4ab6c authored by Patrick McHardy's avatar Patrick McHardy Committed by Adrian Bunk
Browse files

[NET_SCHED]: cls_tcindex: fix compatibility breakage


Userspace uses an integer for TCA_TCINDEX_SHIFT, the kernel was changed
to expect and use a u16 value in 2.6.11, which broke compatibility on
big endian machines. Change back to use int.

Reported by Ole Reinartz <ole.reinartz@gmx.de>

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent ef846bc0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment