summaryrefslogtreecommitdiff
path: root/net/l2tp
diff options
context:
space:
mode:
authorJim Schutt <jaschut@sandia.gov>2012-02-29 08:30:58 -0700
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:45 -0500
commit182fac2689b769a96e7fc9defcd560c5cca92b1e (patch)
tree1944b5db730a3157cd8f3d2e50fa88db263c5114 /net/l2tp
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7 (diff)
net/ceph: Only clear SOCK_NOSPACE when there is sufficient space in the socket buffer
The Ceph messenger would sometimes queue multiple work items to write data to a socket when the socket buffer was full. Fix this problem by making ceph_write_space() use SOCK_NOSPACE in the same way that net/core/stream.c:sk_stream_write_space() does, i.e., clearing it only when sufficient space is available in the socket buffer. Signed-off-by: Jim Schutt <jaschut@sandia.gov> Reviewed-by: Alex Elder <elder@dreamhost.com>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions