aboutsummaryrefslogtreecommitdiffstats
path: root/net/rose/rose_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/rose_in.c')
-rw-r--r--net/rose/rose_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/rose_in.c b/net/rose/rose_in.c
index 4ee0879d3540..7f7fcb46b4fa 100644
--- a/net/rose/rose_in.c
+++ b/net/rose/rose_in.c
@@ -182,7 +182,7 @@ static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int framety
182 break; 182 break;
183 } 183 }
184 if (atomic_read(&sk->sk_rmem_alloc) > 184 if (atomic_read(&sk->sk_rmem_alloc) >
185 (sk->sk_rcvbuf / 2)) 185 (sk->sk_rcvbuf >> 1))
186 rose->condition |= ROSE_COND_OWN_RX_BUSY; 186 rose->condition |= ROSE_COND_OWN_RX_BUSY;
187 } 187 }
188 /* 188 /*