[NET_SCHED]: cls_tcindex: fix compatibility breakage
authorPatrick McHardy <kaber@trash.net>
Mon, 9 Apr 2007 18:42:25 +0000 (11:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Apr 2007 20:31:13 +0000 (13:31 -0700)
commitbb8a954f27ed8fb8f57e80e6b63d837cfdcad689
tree3b001cd05b981c38ccd31f088fb434b492301e56
parent90f30eccf41302a2542f5d374af243061902bd98
[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: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_tcindex.c