iptables: fix build with older kernel headers
authorBaruch Siach <baruch@tkos.co.il>
Tue, 6 Mar 2018 05:05:53 +0000 (07:05 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Mar 2018 10:07:03 +0000 (11:07 +0100)
commit120d492623abc59200bc556525a88ea8196a9340
tree72beb2d88c05b843bda8d37df8407f5d2bd3a5cd
parent43500d5c85df7f73ccb55ce866cbe9293b8b4b10
iptables: fix build with older kernel headers

iptables version 1.6.2 uses the BPF_OBJ_GET macro that is only available
since kernel version 4.4. Add a patch fixing the detection of the
feature availability.

Fixes:
http://autobuild.buildroot.net/results/e67/e670548c4b250e8a102a4929cafa85634fc79a3d/
http://autobuild.buildroot.net/results/1a7/1a7ab509440c9acacf606f238b8989d9b4287d52/
http://autobuild.buildroot.net/results/555/55583e20bcdf602132c074e08d1a49507d5a48ad/

Cc: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iptables/0001-extensions-libxt_bpf-Fix-build-with-old-kernel-versi.patch [new file with mode: 0644]