ipset 6.20 compile failure on <3.8

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

 



The openSUSE build system reports for their kernel 3.7 a FTBFS
for ipset 6.20 (path abridged with a '~'):

[   94s]   CC [M]  ~/kernel/net/sched/em_ipset.o
[   94s]   CC [M]  ~/kernel/net/netfilter/xt_set.o
[   97s]   CC [M]  ~/kernel/net/netfilter/ipset/ip_set_core.o
[   97s]   CC [M]  ~/kernel/net/netfilter/ipset/ip_set_getport.o
[   97s] ~/kernel/net/netfilter/ipset/ip_set_core.c: In function 'ip_set_sockfn_get':
[   97s] ~/kernel/net/netfilter/ipset/ip_set_core.c:1867:21: error: 'struct net' has no member named 'user_ns'

The lines 1867+ are:
        if (!ns_capable(net->user_ns, CAP_NET_ADMIN))
                return -EPERM;

But net->user_ns is only available starting from 3.8.
--
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