]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: cleanup tcp_v[46]_inbound_md5_hash()
authorEric Dumazet <edumazet@google.com>
Fri, 2 Oct 2015 18:43:28 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:32:38 +0000 (04:32 -0700)
commit8809c86da25ef83ad4f20293653d09781022caf0
treeb23c8ea809c70a80e3f1fa0ef9935e8600d739ff
parent2ce927527f0ba23735a5d6eccbc210a5d55502dd
tcp: cleanup tcp_v[46]_inbound_md5_hash()

We'll soon have to call tcp_v[46]_inbound_md5_hash() twice.
Also add const attribute to the socket, as it might be the
unlocked listener for SYN packets.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c