Thread (5 messages) flat view 5 messages, 2 authors, 2017-10-10

Re: [PATCH net-next 0/2] net: defer cgroups init to accept()

From: David Miller <davem@davemloft.net>
Date: 2017-10-10 03:55:28

From: Eric Dumazet <edumazet@google.com>
Date: Sun, 8 Oct 2017 21:47:49 -0700
On Sun, Oct 8, 2017 at 9:44 PM, Eric Dumazet [off-list ref] wrote:
quoted
After TCP 3WHS became lockless, we should not attempt cgroup games
from sk_clone_lock() since listener/cgroup might be already gone.

Move this business to inet_csk_accept() where we have
the guarantee both parent and child exist.

Many thanks to John Sperbeck for spotting these issues

Eric Dumazet (2):
  net: memcontrol: defer call to mem_cgroup_sk_alloc()
  net: defer call to cgroup_sk_alloc()
This was based on net tree, but I used the wrong script, and thus this
has the [PATCH net-next] tag.

Sorry for the confusion, but I guess this also can be applied to
net-next since this is not a recent regression.
Series applied to 'net', thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help