]> git.baikalelectronics.ru Git - kernel.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)
commit74b54b955e5fbc2a399deca5c21eba97f6e0c370
treebd48e072bacebb47bc6cd4ebb3483e9bd9da21b0
parent930f599672f9602a77393d7c0c31ed30920e4b0d
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