]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: tcp_make_synack() should use sock_wmalloc
authorPhil Oester <kernel@linuxace.com>
Tue, 27 Aug 2013 23:41:40 +0000 (16:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 20:02:04 +0000 (16:02 -0400)
commitca5c52ef2cac367fa9905511e62a61d581f792f1
tree34d0b152e89843164b89f7c191877e6c15267c2a
parentb5206d80399504328b3c21d3436925ef8e414f6d
tcp: tcp_make_synack() should use sock_wmalloc

In commit f31432a8 (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.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c