commit | 4244f8a9f86a6d6e820b4cb53835c15c56d41aff | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Tue Oct 10 19:40:50 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 11 23:59:54 2006 -0700 |
tree | 1a3278dd2797454f0e52fab75fd899a40eb16646 | |
parent | 0be669bb37693103c15e64610454f8f431a38feb [diff] [blame] |
[TCP]: Use TCPOLEN_TSTAMP_ALIGNED macro instead of magic number. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c83938b..f745095 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c
@@ -578,7 +578,7 @@ 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;