projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'ec-cleanup' into release
[firefly-linux-kernel-4.4.55.git]
/
net
/
rose
/
rose_in.c
diff --git
a/net/rose/rose_in.c
b/net/rose/rose_in.c
index 4ee0879d354064cad674b5423a3f9de40ef5ca38..7f7fcb46b4fa00371201dee0e83f17819db9c5e3 100644
(file)
--- 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
break;
}
if (atomic_read(&sk->sk_rmem_alloc) >
- (sk->sk_rcvbuf
/ 2
))
+ (sk->sk_rcvbuf
>> 1
))
rose->condition |= ROSE_COND_OWN_RX_BUSY;
}
/*