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)
commit5a95cbb80ef8d8f2db29ab10777cd4742e6fc8ec
tree26d05f20892a2d22c715366fa8d48aa6e4e78181
parentae661deca7b9f3fa7d1eda99aedbdd12155ade40
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: f318903c0bf4 ("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