]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sockmap-fixes'
authorAlexei Starovoitov <ast@kernel.org>
Sat, 7 Jul 2018 22:16:58 +0000 (15:16 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 7 Jul 2018 22:16:59 +0000 (15:16 -0700)
commitaed3bbd5c72f4b339e3858a20e39a0afe5170b2b
tree91b442e56a0eae99b6be5071dc95eaf2e2cddc12
parent4b21ccb9f86cca303d595c69258769e66cf4a72e
parent3a02f65e478622320844fcf3ea1222a43870568e
Merge branch 'sockmap-fixes'

John Fastabend says:

====================
I missed fixing the error path in the sockhash code to align with
supporting socks in multiple maps. Simply checking if the psock is
present does not mean we can decrement the reference count because
it could be part of another map. Fix this by cleaning up the error
path so this situation does not happen.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>