mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
tcp/dccp: constify syn_recv_sock() method sock argument
We'll soon no longer hold listener socket lock, these functions do not modify the socket in any way. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c28c6f0459
commit
0c27171e66
7 changed files with 12 additions and 9 deletions
|
@ -1242,7 +1242,7 @@ EXPORT_SYMBOL(tcp_v4_conn_request);
|
|||
* The three way handshake has completed - we got a valid synack -
|
||||
* now create the new socket.
|
||||
*/
|
||||
struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
|
||||
struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
|
||||
struct request_sock *req,
|
||||
struct dst_entry *dst)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue