]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc22732c00acac8d8470074e479d92eaccc9d8da3
tree477224b8889778ab9a41ea45f9ae8743682aa800
parent9700c1060da9b334b72824aabfc6e5c16a7fd85c
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