diff options
| author | Eric Dumazet <[email protected]> | 2013-07-23 03:26:31 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-07-25 00:54:48 +0000 |
| commit | 64dc61306ce7da370833289739e2f52dfc6b37ba (patch) | |
| tree | 3d04f970a54863e025f13c7f9de18c221e16b7d7 /net/ipv6/tcp_ipv6.c | |
| parent | net: sctp: trivial: add uapi/linux/sctp.h into maintainers (diff) | |
| download | kernel-64dc61306ce7da370833289739e2f52dfc6b37ba.tar.gz kernel-64dc61306ce7da370833289739e2f52dfc6b37ba.zip | |
net: add sk_stream_is_writeable() helper
Several call sites use the hardcoded following condition :
sk_stream_wspace(sk) >= sk_stream_min_wspace(sk)
Lets use a helper because TCP_NOTSENT_LOWAT support will change this
condition for TCP sockets.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Neal Cardwell <[email protected]>
Cc: Yuchung Cheng <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
