fix endianness bug in inet_lro
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:41:09 +0000 (19:41 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:52 +0000 (12:41 -0700)
commitf53f4137baedc1be179880d35f390e20445428ba
tree540a953ece44438080c756b6fc250ff1606a720e
parent9df7c98a0f7e0b7f4b547761ab64f39a13f20355
fix endianness bug in inet_lro

all uses of and almost all assignments to lro_desc->tcp_ack assume that it's
net-endian; one converts net-endian to host-endian and sticks it in
lro_desc->tcp_ack.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/inet_lro.h
net/ipv4/inet_lro.c