aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <[email protected]>2006-10-11 02:40:50 +0000
committerDavid S. Miller <[email protected]>2006-10-12 06:59:54 +0000
commit4244f8a9f86a6d6e820b4cb53835c15c56d41aff (patch)
tree1a3278dd2797454f0e52fab75fd899a40eb16646 /net/ipv4/tcp_ipv4.c
parent[IPV6]: Seperate sit driver to extra module (addrconf.c changes) (diff)
downloadkernel-4244f8a9f86a6d6e820b4cb53835c15c56d41aff.tar.gz
kernel-4244f8a9f86a6d6e820b4cb53835c15c56d41aff.zip
[TCP]: Use TCPOLEN_TSTAMP_ALIGNED macro instead of magic number.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index c83938b8fcb1..f745095196f7 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -578,7 +578,7 @@ static void tcp_v4_send_ack(struct sk_buff *skb, u32 seq, u32 ack,
struct tcphdr *th = skb->h.th;
struct {
struct tcphdr th;
- u32 tsopt[3];
+ u32 tsopt[TCPOLEN_TSTAMP_ALIGNED >> 2];
} rep;
struct ip_reply_arg arg;