Re: [PATCH net-next] dccp: consistently use dccp_write_space()

2017-06-04 Thread David Miller
From: Eric Dumazet Date: Fri, 02 Jun 2017 08:02:26 -0700 > From: Eric Dumazet > > 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->s

[PATCH net-next] dccp: consistently use dccp_write_space()

2017-06-02 Thread Eric Dumazet
From: Eric Dumazet 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-o