]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix tcindex classifier ABI borkage...
authorPatrick McHardy <kaber@trash.net>
Tue, 10 Apr 2007 20:38:39 +0000 (13:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Apr 2007 20:47:05 +0000 (13:47 -0700)
commitfa520f761777759cf1aebfda81ce250fc840719f
tree9b5db85389be0ea96cd5a953e83e0da124afa38c
parentc823d26e9a668566fa92f7486b2380191497ba7a
Fix tcindex classifier ABI borkage...

[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: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/cls_tcindex.c