]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Fix-collisions-in-socket-cookie-generation'
authorDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:14:46 +0000 (13:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:14:46 +0000 (13:14 -0700)
commit294b1a5ca68b66cafa72116bcb10a9f3de9e546c
tree3f845dadc6e1f4921d886485d542707c1cc35ce0
parent9f826430eb8c0a6400bdb4b20c40f3b8f4aa6dca
parentf20650add6557ae4b6c4db65749d8a15c48d23eb
Merge branch 'Fix-collisions-in-socket-cookie-generation'

Daniel Borkmann says:

====================
Fix collisions in socket cookie generation

This change makes the socket cookie generator as a global counter
instead of per netns in order to fix cookie collisions for BPF use
cases we ran into. See main patch #1 for more details.

Given the change is small/trivial and fixes an issue we're seeing
my preference would be net tree (though it cleanly applies to
net-next as well). Went for net tree instead of bpf tree here given
the main change is in net/core/sock_diag.c, but either way would be
fine with me.

v1 -> v2:
  - Fix up commit description in patch #1, thanks Eric!
====================

Signed-off-by: David S. Miller <davem@davemloft.net>