linux_dsm_epyc7002/include
Eric Dumazet b3d051477c tcp: do not mess with listener sk_wmem_alloc
When removing sk_refcnt manipulation on synflood, I missed that
using skb_set_owner_w() was racy, if sk->sk_wmem_alloc had already
transitioned to 0.

We should hold sk_refcnt instead, but this is a big deal under attack.
(Doing so increase performance from 3.2 Mpps to 3.8 Mpps only)

In this patch, I chose to not attach a socket to syncookies skb.

Performance is now 5 Mpps instead of 3.2 Mpps.

Following patch will remove last known false sharing in
tcp_rcv_state_process()

Fixes: 3b24d854cb ("tcp/dccp: do not touch listener sk_refcnt under synflood")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-15 16:45:44 -04:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux bpf, verifier: add ARG_PTR_TO_RAW_STACK type 2016-04-14 21:40:41 -04:00
math-emu
media
memory
misc
net tcp: do not mess with listener sk_wmem_alloc 2016-04-15 16:45:44 -04:00
pcmcia
ras
rdma
rxrpc rxrpc: Static arrays of strings should be const char *const[] 2016-04-11 15:34:40 -04:00
scsi
soc
sound
target
trace Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
uapi devlink: implement shared buffer occupancy monitoring interface 2016-04-14 16:22:03 -04:00
video
xen
Kbuild