[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131119.161049.40606385929854732.davem@davemloft.net>
Date: Tue, 19 Nov 2013 16:10:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: vyasevich@...il.com
Cc: dborkman@...hat.com, netdev@...r.kernel.org,
linux-sctp@...r.kernel.org, wangweidong1@...wei.com,
eric.dumazet@...il.com
Subject: Re: [PATCH net] net: sctp: fix copying sk_v6_rcv_saddr in
sctp_v6_create_accept_sk
From: Vlad Yasevich <vyasevich@...il.com>
Date: Tue, 19 Nov 2013 10:38:10 -0500
> This fixes the issue for the accept() case, but the bug is still there
> in the peeloff case.
>
> I think you should make sctp_copy_sock() use sock_copy() for now. It
> looks like it will catch all the cases.
>
> We can then look at possibly getting rid of sctp_copy_sock() for net-next.
Agreed, it looks like a lot of hair exists because sctp tries to use
custom code to copy sockets. Getting away from this will fix this
address problem as well as things like the pacing rate being wrong
as Eric Dumazet mentioned.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists