summaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-10-11 04:40:50 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-12 08:59:54 +0200
commit4244f8a9f86a6d6e820b4cb53835c15c56d41aff (patch)
tree1a3278dd2797454f0e52fab75fd899a40eb16646 /net/ipv6/tcp_ipv6.c
parent[IPV6]: Seperate sit driver to extra module (addrconf.c changes) (diff)
downloadlinux-4244f8a9f86a6d6e820b4cb53835c15c56d41aff.tar.xz
linux-4244f8a9f86a6d6e820b4cb53835c15c56d41aff.zip
[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>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 3b6575478fcc..34e004bdeab0 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -653,7 +653,7 @@ static void tcp_v6_send_ack(struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32
int tot_len = sizeof(struct tcphdr);
if (ts)
- tot_len += 3*4;
+ tot_len += TCPOLEN_TSTAMP_ALIGNED;
buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len,
GFP_ATOMIC);