projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add sk_stream_is_writeable() helper
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
net
/
core
/
stream.c
diff --git
a/net/core/stream.c
b/net/core/stream.c
index
f5df85d
..
512f0a2
100644
(file)
--- a/
net/core/stream.c
+++ b/
net/core/stream.c
@@
-30,7
+30,7
@@
void sk_stream_write_space(struct sock *sk)
struct socket *sock = sk->sk_socket;
struct socket_wq *wq;
- if (sk_stream_
wspace(sk) >= sk_stream_min_wspac
e(sk) && sock) {
+ if (sk_stream_
is_writeabl
e(sk) && sock) {
clear_bit(SOCK_NOSPACE, &sock->flags);
rcu_read_lock();