]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82652832aa52b2cafbf9a82a0775ecac09f4d319
treef2dda925e65212d4baacaa01a8b85f462a35b753
parente5ff1ca49364b6bccac513bb568eafbc19d4bb71
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