]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - net/ipv4/syncookies.c
tcp/dccp: install syn_recv requests into ehash table
[thirdparty/kernel/stable.git] / net / ipv4 / syncookies.c
index 6b97b5f6457cf4fb672201162655ae7ff9080e28..729ceb5f63c69dc2270aafb81acd2a16ae791f33 100644 (file)
@@ -284,6 +284,10 @@ bool cookie_ecn_ok(const struct tcp_options_received *tcp_opt,
 }
 EXPORT_SYMBOL(cookie_ecn_ok);
 
+/* On input, sk is a listener.
+ * Output is listener if incoming packet would not create a child
+ *           NULL if memory could not be allocated.
+ */
 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb)
 {
        struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt;