diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-22 14:20:49 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-22 14:20:49 +0000 |
commit | a64ec6b36dd6773bfada490525d6bde19e54da52 (patch) | |
tree | 9c497fa5187b4ee9942ce5b77d8fa3f492c435e5 /v4l/scripts/hg-pull-req.pl | |
parent | 444c36366e475d6559588f1a25244b0a78b437d5 (diff) | |
download | mediapointer-dvb-s2-a64ec6b36dd6773bfada490525d6bde19e54da52.tar.gz mediapointer-dvb-s2-a64ec6b36dd6773bfada490525d6bde19e54da52.tar.bz2 |
net endianness fix
From: Al Viro <viro@ftp.linux.org.uk>
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts/hg-pull-req.pl')
0 files changed, 0 insertions, 0 deletions