Commit 05359192 authored by Phil Oester's avatar Phil Oester Committed by Chenbo Feng
Browse files

UPSTREAM: tcp: tcp_make_synack() should use sock_wmalloc



In commit 90ba9b19 (tcp: tcp_make_synack() can use alloc_skb()), Eric changed
the call to sock_wmalloc in tcp_make_synack to alloc_skb.  In doing so,
the netfilter owner match lost its ability to block the SYNACK packet on
outbound listening sockets.  Revert the change, restoring the owner match
functionality.

This closes netfilter bugzilla #847.

Cherry-pick from: b70a23ab
Signed-off-by: default avatarPhil Oester <kernel@linuxace.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 432986fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment