tcp: cookie_init_sequence() cleanups
authorEric Dumazet <edumazet@google.com>
Tue, 29 Sep 2015 14:42:49 +0000 (07:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 23:53:09 +0000 (16:53 -0700)
commit3f684b4b1f1c86e3a6ac63389d1032e239fddd79
tree477224b8889778ab9a41ea45f9ae8743682aa800
parent0c27171e66d94f9121fc00e87407ca7103bb6649
tcp: cookie_init_sequence() cleanups

Some common IPv4/IPv6 code can be factorized.
Also constify cookie_init_sequence() socket argument.

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