Commit 0cc52054 authored by Trond Myklebust's avatar Trond Myklebust Committed by David S. Miller

tcp.c:

  Fix tcp_read_sock() so that it advances tp->copied_seq.
parent 3791f744
...@@ -1449,6 +1449,7 @@ int tcp_read_sock(struct sock *sk, read_descriptor_t *desc, ...@@ -1449,6 +1449,7 @@ int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
if (!desc->count) if (!desc->count)
break; break;
} }
tp->copied_seq = seq;
/* Clean up data we have read: This will do ACK frames. */ /* Clean up data we have read: This will do ACK frames. */
if (copied) if (copied)
cleanup_rbuf(sk, copied); cleanup_rbuf(sk, copied);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment