Re: [PATCH] extensions: libxt_bpf: Fix build with old kernel versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 27, 2018 at 04:56:55PM +0100, Hauke Mehrtens wrote:
> In kernel 3.18 the union bpf_attr does not have a pathname attribute and
> BPF_OBJ_GET is also not defined in these versions.
> This was added in Linux commit b2197755b263 ("bpf: add support for
> persistent maps/progs"). Check for the BPF_FS_MAGIC define which was
> also added in this Linux commit and only activate this code in case we
> find that define.
> 
> This fixes a build problem with Linux 3.18.
> Netfilter bug: #1231

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux