Re: [PATCH net-next] tcp: get_cookie_sock() consolidation

2015-06-07 Thread David Miller
From: Eric Dumazet Date: Thu, 04 Jun 2015 18:30:43 -0700 > From: Eric Dumazet > > 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 Applied, thank

[PATCH net-next] tcp: get_cookie_sock() consolidation

2015-06-04 Thread Eric Dumazet
From: Eric Dumazet 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 --- include/net/tcp.h |3 +++ net/ipv4/syncookies.c | 10 +- net/ipv6/s