Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148203 Details for
Bug 205966
Firewall - Premature ip_conntrack timer expiry on 3+ ack or window size advertisements - (hanging tomcat threads problem)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to fix problem w/o breaking abi
ipct.patch (text/plain), 1.60 KB, created by
Neil Horman
on 2007-02-16 16:13:45 UTC
(
hide
)
Description:
patch to fix problem w/o breaking abi
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2007-02-16 16:13:45 UTC
Size:
1.60 KB
patch
obsolete
>--- linux-2.6.9/include/linux/netfilter_ipv4/ip_conntrack.h.orig 2007-02-16 10:47:26.000000000 -0500 >+++ linux-2.6.9/include/linux/netfilter_ipv4/ip_conntrack.h 2007-02-16 10:52:23.000000000 -0500 >@@ -215,6 +215,13 @@ struct ip_conntrack > /* Traversed often, so hopefully in different cacheline to top */ > /* These are my tuples; original and reply */ > struct ip_conntrack_tuple_hash tuplehash[IP_CT_DIR_MAX]; >+ >+ /* >+ * Normally these go inside ip_ct_tcp, but in order >+ * to preserve abi, they need to go here >+ */ >+ u_int32_t last_ack; >+ u_int32_t last_win; > }; > > /* get master conntrack via master expectation */ >--- linux-2.6.9/net/ipv4/netfilter/ip_conntrack_proto_tcp.c.orig 2007-02-16 10:52:45.000000000 -0500 >+++ linux-2.6.9/net/ipv4/netfilter/ip_conntrack_proto_tcp.c 2007-02-16 10:59:58.000000000 -0500 >@@ -509,7 +509,8 @@ static int tcp_in_window(struct ip_ct_tc > struct ip_ct_tcp_state *receiver = &state->seen[!dir]; > __u32 seq, ack, sack, end, win, swin; > int res; >- >+ struct ip_conntrack *ip_ct = container_of(state,struct ip_conntrack, proto); >+ > /* > * Get the required data from the packet. > */ >@@ -663,12 +664,16 @@ static int tcp_in_window(struct ip_ct_tc > if (*index == TCP_ACK_SET) { > if (state->last_dir == dir > && state->last_seq == seq >- && state->last_end == end) >+ && state->last_end == end >+ && ip_ct->last_ack == ack >+ && ip_ct->last_win == win) > state->retrans++; > else { > state->last_dir = dir; > state->last_seq = seq; > state->last_end = end; >+ ip_ct->last_ack = ack; >+ ip_ct->last_win = win; > state->retrans = 0; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205966
:
135942
| 148203 |
148644