]> git.baikalelectronics.ru Git - kernel.git/commit
[IPVS] bug: endianness breakage in ip_vs_ftp
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 21:31:49 +0000 (14:31 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:03:05 +0000 (18:03 -0700)
commit7296d391083e9e2dde33f8482458c00678f58414
treef1e8dce6214ee5e35dc290da7ed39e7168afaf8a
parent12407e1931c6eadb4826d6c8dbcd47128ccc3865
[IPVS] bug: endianness breakage in ip_vs_ftp

(p[3]<<24) | (p[2]<<16) | (p[1]<<8) | p[0] is not a valid
way to spell get_unaligned((__be32 *)p

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_ftp.c