aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 8ea975164596..d979657b8a12 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1927,6 +1927,7 @@ bool tcp_prequeue(struct sock *sk, struct sk_buff *skb)
1927 skb_queue_len(&tp->ucopy.prequeue) == 0) 1927 skb_queue_len(&tp->ucopy.prequeue) == 0)
1928 return false; 1928 return false;
1929 1929
1930 skb_dst_force(skb);
1930 __skb_queue_tail(&tp->ucopy.prequeue, skb); 1931 __skb_queue_tail(&tp->ucopy.prequeue, skb);
1931 tp->ucopy.memory += skb->truesize; 1932 tp->ucopy.memory += skb->truesize;
1932 if (tp->ucopy.memory > sk->sk_rcvbuf) { 1933 if (tp->ucopy.memory > sk->sk_rcvbuf) {