]> git.openpandora.org Git - pandora-kernel.git/commitdiff
tcp: add tcp_conn_request
authorOctavian Purdila <octavian.purdila@intel.com>
Wed, 25 Jun 2014 14:10:02 +0000 (17:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jun 2014 22:53:37 +0000 (15:53 -0700)
Create tcp_conn_request and remove most of the code from
tcp_v4_conn_request and tcp_v6_conn_request.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c

index cec6e2cf0610d8acb9e0738e2ffff53e217b3a74..0d5389aecf182fecf4c43054f7548dd275be8411 100644 (file)
@@ -1574,6 +1574,9 @@ void tcp4_proc_exit(void);
 #endif
 
 int tcp_rtx_synack(struct sock *sk, struct request_sock *req);
+int tcp_conn_request(struct request_sock_ops *rsk_ops,
+                    const struct tcp_request_sock_ops *af_ops,
+                    struct sock *sk, struct sk_buff *skb);
 
 /* TCP af-specific functions */
 struct tcp_sock_af_ops {
Simple merge
Simple merge
Simple merge