]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
inet: constify inet_rtx_syn_ack() sock argument
authorEric Dumazet <edumazet@google.com>
Fri, 25 Sep 2015 14:39:24 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 20:00:39 +0000 (13:00 -0700)
commit1b70e977cef6ce7e7411c9bbec21f9adc8e29097
treebd48e072bacebb47bc6cd4ebb3483e9bd9da21b0
parentea3bea3a1d38aab1542176b2ff11a99ce3db9656
inet: constify inet_rtx_syn_ack() sock argument

SYNACK packets are sent on behalf on unlocked listeners
or fastopen sockets. Mark socket as const to catch future changes
that might break the assumption.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h
net/ipv4/inet_connection_sock.c