patch-2.4.4 linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
Next file: linux/net/ipv4/netfilter/ip_conntrack_proto_udp.c
Previous file: linux/net/ipv4/netfilter/ip_conntrack_proto_icmp.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Apr 27 14:15:01 2001
- Orig file:
v2.4.3/linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
- Orig date:
Fri Aug 4 13:07:24 2000
diff -u --recursive --new-file v2.4.3/linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
@@ -206,8 +206,8 @@
}
/* Called when a new connection for this protocol found. */
-static unsigned long tcp_new(struct ip_conntrack *conntrack,
- struct iphdr *iph, size_t len)
+static int tcp_new(struct ip_conntrack *conntrack,
+ struct iphdr *iph, size_t len)
{
enum tcp_conntrack newconntrack;
struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl);
@@ -224,7 +224,7 @@
}
conntrack->proto.tcp.state = newconntrack;
- return tcp_timeouts[conntrack->proto.tcp.state];
+ return 1;
}
struct ip_conntrack_protocol ip_conntrack_protocol_tcp
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)