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
/
sunrpc
/
xprtsock.c
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index
ddf0602
..
d6656d7
100644
(file)
--- a/
net/sunrpc/xprtsock.c
+++ b/
net/sunrpc/xprtsock.c
@@
-1602,7
+1602,7
@@
static void xs_tcp_write_space(struct sock *sk)
read_lock_bh(&sk->sk_callback_lock);
/* from net/core/stream.c:sk_stream_write_space */
- if (sk_stream_
wspace(sk) >= sk_stream_min_wspac
e(sk))
+ if (sk_stream_
is_writeabl
e(sk))
xs_write_space(sk);
read_unlock_bh(&sk->sk_callback_lock);