/[linux-patches]/genpatches-2.6/trunk/2.6.22/1000_linux-2.6.22.1.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.22/1000_linux-2.6.22.1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1031 - (show annotations) (download)
Tue Jul 10 20:25:47 2007 UTC (11 years, 5 months ago) by dsd
File size: 601 byte(s)
Linux 2.6.22.1
1 diff --git a/net/netfilter/nf_conntrack_proto_sctp.c b/net/netfilter/nf_conntrack_proto_sctp.c
2 index 0d3254b..6e41ba5 100644
3 --- a/net/netfilter/nf_conntrack_proto_sctp.c
4 +++ b/net/netfilter/nf_conntrack_proto_sctp.c
5 @@ -460,7 +460,8 @@ static int sctp_new(struct nf_conn *conntrack, const struct sk_buff *skb,
6 SCTP_CONNTRACK_NONE, sch->type);
7
8 /* Invalid: delete conntrack */
9 - if (newconntrack == SCTP_CONNTRACK_MAX) {
10 + if (newconntrack == SCTP_CONNTRACK_NONE ||
11 + newconntrack == SCTP_CONNTRACK_MAX) {
12 DEBUGP("nf_conntrack_sctp: invalid new deleting.\n");
13 return 0;
14 }

  ViewVC Help
Powered by ViewVC 1.1.20