[TCP]: struct tcp_sack_block annotations
commit269bd27e66037a7932cee6d6aa7ef7defd0bfe38
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:32:28 +0000 (27 18:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:04 +0000 (28 18:02 -0700)
tree92b1694b00ee61777bd6976d32cb283effdf9172
parent46a97324a5ebdc1e343a0223d993e79551adab0f
[TCP]: struct tcp_sack_block annotations

Some of the instances of tcp_sack_block are host-endian, some - net-endian.
Define struct tcp_sack_block_wire identical to struct tcp_sack_block
with u32 replaced with __be32; annotate uses of tcp_sack_block replacing
net-endian ones with tcp_sack_block_wire.  Change is obviously safe since
for cc(1) __be32 is typedefed to u32.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
net/ipv4/netfilter/ip_nat_helper.c
net/ipv4/tcp_input.c