aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_txrx.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-03 06:27:28 -0700
committerDavid S. Miller <davem@davemloft.net>2015-10-03 13:25:20 -0700
commite96f78ab2703f3b0d512f6b469bc685d2ef20475 (patch)
treec3401c3053c26288e2bfef14544d326e9db3dc0d /drivers/net/ethernet/intel/i40e/i40e_txrx.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff)
downloadlinux-dev-e96f78ab2703f3b0d512f6b469bc685d2ef20475.tar.xz
linux-dev-e96f78ab2703f3b0d512f6b469bc685d2ef20475.zip
tcp/dccp: add SLAB_DESTROY_BY_RCU flag for request sockets
Before letting request sockets being put in TCP/DCCP regular ehash table, we need to add either : - SLAB_DESTROY_BY_RCU flag to their kmem_cache - add RCU grace period before freeing them. Since we carefully respected the SLAB_DESTROY_BY_RCU protocol like ESTABLISH and TIMEWAIT sockets, use it here. req_prot_init() being only used by TCP and DCCP, I did not add a new slab_flags into their rsk_prot, but reuse prot->slab_flags Since all reqsk_alloc() users are correctly dealing with a failure, add the __GFP_NOWARN flag to avoid traces under pressure. Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions