]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: consistently use dccp_write_space()
authorEric Dumazet <edumazet@google.com>
Fri, 2 Jun 2017 15:02:26 +0000 (08:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jun 2017 23:58:35 +0000 (19:58 -0400)
commit79a8d6b53c14acf66e27649649ee3cedb1fae615
tree5faf6b63009874e98bb84eaf56aaa22650544343
parentfbb4a46c5c749fab9b59511a6dac6249f0f8846b
dccp: consistently use dccp_write_space()

DCCP uses dccp_write_space() for sk->sk_write_space method.

Unfortunately a passive connection (as provided by accept())
is using the generic sk_stream_write_space() function.

Lets simply inherit sk->sk_write_space from the parent
instead of forcing the generic one.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c