Re: [PATCH net-next] tcp/dccp: add SLAB_DESTROY_BY_RCU flag for request sockets

2015-10-03 Thread David Miller
From: Eric Dumazet Date: Sat, 03 Oct 2015 06:27:28 -0700 > From: Eric Dumazet > > 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 c

[PATCH net-next] tcp/dccp: add SLAB_DESTROY_BY_RCU flag for request sockets

2015-10-03 Thread Eric Dumazet
From: Eric Dumazet 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 TIMEWA