[TCP]: Account skb overhead in tcp_fragment
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Apr 2006 04:35:00 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2006 04:35:00 +0000 (21:35 -0700)
commitb60b49ea6a3e1f8dcaf4148dad0daab61ab766d2
tree83a18b5188d632692da34f9ed8265fcecb4d9f35
parentd47f3640fe2ac4da8a8e713a549e6eaf23ac2084
[TCP]: Account skb overhead in tcp_fragment

Make sure that we get the full sizeof(struct sk_buff)
plus the data size accounted for in skb->truesize.

This will create invariants that will allow adding
assertion checks on skb->truesize.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c