]> git.proxmox.com Git - mirror_iproute2.git/commit - lib/bpf.c
bpf: remove strict dependency on af_alg
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 17 Jul 2018 23:31:20 +0000 (01:31 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 18 Jul 2018 02:38:40 +0000 (19:38 -0700)
commit6e5094dbb7c0682a9ca6eb2a64ec51f0a8a33a22
tree32756a92cf06b57a03d7ee2f53bf0014728cc3b7
parent282a1fe1f8fc87b1ebca4ca6f4440d2e69cf4b8f
bpf: remove strict dependency on af_alg

Do not bail out when AF_ALG is not supported by the kernel and
only do so when a map is requested in object ns where we're
calculating the hash. Otherwise, the loader can operate just
fine, therefore lets not fail early when it's not needed.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David Ahern <dsahern@gmail.com>
lib/bpf.c