From: Al Viro Date: Sun, 22 Jun 2008 17:20:49 +0000 (-0300) Subject: V4L/DVB (8126): net endianness fix X-Git-Tag: v2.6.27-rc1~966^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f51b10ef6520f2bd725dc333e771eabd55d6c04f;p=pandora-kernel.git V4L/DVB (8126): net endianness fix According to RFC 4326 (4.1) D-bit is MSB in net-endian 16bit. dvb_net.c did /* Set D-bit for CRC32 verification, * if it was set originally. */ ulen |= 0x0080; which works of little-endian (htons(1<<15) is 0x0080 there), but breaks on big-endian. Signed-off-by: Al Viro Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed