tcp: Move code around

This is just the preparation patch, which makes the needed for
TCP repair code ready for use.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Pavel Emelyanov
2012-04-19 03:40:01 +00:00
committed by David S. Miller
parent 4a17fd5229
commit 370816aef0
4 changed files with 54 additions and 36 deletions

View File

@@ -919,7 +919,7 @@ int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
struct tcp_sock *tp = tcp_sk(sk);
struct sk_buff *skb;
int iovlen, flags, err, copied;
int mss_now, size_goal;
int mss_now = 0, size_goal;
bool sg;
long timeo;