tcp: get_cookie_sock() consolidation
authorEric Dumazet <edumazet@google.com>
Fri, 5 Jun 2015 01:30:43 +0000 (18:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2015 22:19:52 +0000 (15:19 -0700)
commitb80c0e78582d4a3a004dc1ade4eb06babc6a4eea
treef2dda925e65212d4baacaa01a8b85f462a35b753
parent13ea657806cf73b379a0109f7042182f47c351a7
tcp: get_cookie_sock() consolidation

IPv4 and IPv6 share same implementation of get_cookie_sock(),
and there is no point inlining it.

We add tcp_ prefix to the common helper name and export it.

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