]> 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)
commit001315eb4d0125b48b0bf2731cc3ef50474346bd
tree55c8684910f6c98ff7f47e8d3de239c20882e98e
parent9f60db983d0bdcd9f54e3c08159edea046f357ed
parentfa7327c288f1c6d276f91f9ce046e77903ccb029
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>