]> 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)
commit68575ad54107278a73fd6b163220f6e11ea8add9
tree91b442e56a0eae99b6be5071dc95eaf2e2cddc12
parent218ed3b963839cdb9a039778d520389b4d1aeca2
parentd5f634cfc64cc4481823535766c1cf8f3c5f0de2
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>