]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpfilter: fix a build err
authorYueHaibing <yuehaibing@huawei.com>
Fri, 25 May 2018 10:17:57 +0000 (18:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 19:20:21 +0000 (15:20 -0400)
commitae40832e53c33fab2755571dabc1378117bc50d4
tree06ceaf7cdf20f5a4150c186827927a38e6aa8904
parent2d68c0745a0e8349ff71b04af5ee020d40f78d90
bpfilter: fix a build err

gcc-7.3.0 report following err:

  HOSTCC  net/bpfilter/main.o
In file included from net/bpfilter/main.c:9:0:
./include/uapi/linux/bpf.h:12:10: fatal error: linux/bpf_common.h: No such file or directory
 #include <linux/bpf_common.h>

remove it by adding a include path.
Fixes: d2ba09c17a06 ("net: add skeleton of bpfilter kernel module")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/Makefile