[NET_SCHED]: cls_tcindex: fix compatibility breakage
authorPatrick McHardy <kaber@trash.net>
Fri, 13 Apr 2007 19:34:16 +0000 (21:34 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 13 Apr 2007 20:58:27 +0000 (22:58 +0200)
commit51e4ab6cf5eb8c000ef61fa862a6b610a5d2189d
treef7c33086066b182aae85ff7500f90234aa6e1582
parentef846bc01da49cf63d289e97139bef5181e75229
[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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/sched/cls_tcindex.c