CC net/ipv4/tcp_ipv4.o
/pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/tcp_ipv4.c:665: warning:
'syn_flood_warning' defined but not used
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
kfree(inet_rsk(req)->opt);
}
kfree(inet_rsk(req)->opt);
}
+#ifdef CONFIG_SYN_COOKIES
static void syn_flood_warning(struct sk_buff *skb)
{
static unsigned long warntime;
static void syn_flood_warning(struct sk_buff *skb)
{
static unsigned long warntime;
ntohs(skb->h.th->dest));
}
}
ntohs(skb->h.th->dest));
}
}
/*
* Save and compile IPv4 options into the request_sock if needed.
/*
* Save and compile IPv4 options into the request_sock if needed.