[Bug 847] Owner matching fails on listening socket

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Sep 1 16:58:39 CEST 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=847

Phil Oester <netfilter at linuxace.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Phil Oester <netfilter at linuxace.com> 2013-09-01 16:58:37 CEST ---
This was fixed in commit eb8895deb (tcp: tcp_make_synack() should use
sock_wmalloc).  It should appear in 3.11 and -stable series kernels. 
Whitespace damaged version below:

--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2670,7 +2670,7 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct
dst_entry *dst,
        int tcp_header_size;
        int mss;

-       skb = alloc_skb(MAX_TCP_HEADER + 15, sk_gfp_atomic(sk, GFP_ATOMIC));
+       skb = sock_wmalloc(sk, MAX_TCP_HEADER + 15, 1, GFP_ATOMIC);
        if (unlikely(!skb)) {
                dst_release(dst);
                return NULL;


Closing.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list