]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-sockmap-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 23 Apr 2018 22:49:46 +0000 (00:49 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 23 Apr 2018 22:49:47 +0000 (00:49 +0200)
commitf190846f94a56882be39a4d592383834f786c509
tree55c8684910f6c98ff7f47e8d3de239c20882e98e
parent837c53c8e5cddcea1ea479791ad13bc869f73794
parent2d6df26ecdd31e17d145ce32fb6e56bf3bfc5258
Merge branch 'bpf-sockmap-fixes'

John Fastabend says:

====================
While testing sockmap with more programs (besides our test programs)
I found a couple issues.

The attached series fixes an issue where pinned maps were not
working correctly, blocking sockets returned zero, and an error
path that when the sock hit an out of memory case resulted in a
double page_put() while doing ingress redirects.

See individual patches for more details.

v2: Incorporated Daniel's feedback to use map ops for uref put op
    which also fixed the build error discovered in v1.
v3: rename map_put_uref to map_release_uref
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>