aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/x25_in.c')
-rw-r--r--net/x25/x25_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/x25_in.c b/net/x25/x25_in.c
index 1c88762c2794..7d7c3abf38b5 100644
--- a/net/x25/x25_in.c
+++ b/net/x25/x25_in.c
@@ -247,7 +247,7 @@ static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametyp
247 break; 247 break;
248 } 248 }
249 if (atomic_read(&sk->sk_rmem_alloc) > 249 if (atomic_read(&sk->sk_rmem_alloc) >
250 (sk->sk_rcvbuf / 2)) 250 (sk->sk_rcvbuf >> 1))
251 x25->condition |= X25_COND_OWN_RX_BUSY; 251 x25->condition |= X25_COND_OWN_RX_BUSY;
252 } 252 }
253 /* 253 /*