]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, net: Fix build issue when net ns not configured
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 29 Mar 2020 19:59:02 +0000 (21:59 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 29 Mar 2020 23:16:50 +0000 (01:16 +0200)
commitd67fa23d8a8e428a8670daf2282b25dfda8d2e4d
tree26d05f20892a2d22c715366fa8d48aa6e4e78181
parent46cc2dbfb3d35ae6dafcb1ef76d1aa24020e7f6e
bpf, net: Fix build issue when net ns not configured

Fix a redefinition of 'net_gen_cookie' error that was overlooked
when net ns is not configured.

Fixes: 930088a6a66e ("bpf: Add netns cookie and enable it for bpf cgroup hooks")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/net_namespace.h