aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c
index 3d063eb37848..f6c50af24a64 100644
--- a/net/ipv4/tcp_probe.c
+++ b/net/ipv4/tcp_probe.c
@@ -117,7 +117,7 @@ static void jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
117 (fwmark > 0 && skb->mark == fwmark)) && 117 (fwmark > 0 && skb->mark == fwmark)) &&
118 (full || tp->snd_cwnd != tcp_probe.lastcwnd)) { 118 (full || tp->snd_cwnd != tcp_probe.lastcwnd)) {
119 119
120 spin_lock_bh(&tcp_probe.lock); 120 spin_lock(&tcp_probe.lock);
121 /* If log fills, just silently drop */ 121 /* If log fills, just silently drop */
122 if (tcp_probe_avail() > 1) { 122 if (tcp_probe_avail() > 1) {
123 struct tcp_log *p = tcp_probe.log + tcp_probe.head; 123 struct tcp_log *p = tcp_probe.log + tcp_probe.head;
@@ -157,7 +157,7 @@ static void jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
157 tcp_probe.head = (tcp_probe.head + 1) & (bufsize - 1); 157 tcp_probe.head = (tcp_probe.head + 1) & (bufsize - 1);
158 } 158 }
159 tcp_probe.lastcwnd = tp->snd_cwnd; 159 tcp_probe.lastcwnd = tp->snd_cwnd;
160 spin_unlock_bh(&tcp_probe.lock); 160 spin_unlock(&tcp_probe.lock);
161 161
162 wake_up(&tcp_probe.wait); 162 wake_up(&tcp_probe.wait);
163 } 163 }