tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master head: ca6f98035ddfbdb00aa698ea0357e0183a13af5c commit: 84f5eedb983e3c4565e783f87c37fa0dbfa407c3 [8/11] netfilter: nf_tables: add fib expression config: i386-randconfig-x078-201644 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 84f5eedb983e3c4565e783f87c37fa0dbfa407c3 # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>): net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': >> net/ipv4/netfilter/nft_fib_ipv4.c:80:6: warning: unused variable 'i' >> [-Wunused-variable] int i; ^ vim +/i +80 net/ipv4/netfilter/nft_fib_ipv4.c 64 return dev ? dev->ifindex : 0; 65 } 66 67 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 68 const struct nft_pktinfo *pkt) 69 { 70 const struct nft_fib *priv = nft_expr_priv(expr); 71 u32 *dest = ®s->data[priv->dreg]; 72 const struct iphdr *iph; 73 struct fib_result res; 74 struct flowi4 fl4 = { 75 .flowi4_scope = RT_SCOPE_UNIVERSE, 76 .flowi4_iif = LOOPBACK_IFINDEX, 77 }; 78 const struct net_device *oif; 79 struct net_device *found; > 80 int i; 81 82 /* 83 * Do not set flowi4_oif, it restricts results (for example, asking 84 * for oif 3 will get RTN_UNICAST result even if the daddr exits 85 * on another interface. 86 * 87 * Search results for the desired outinterface instead. 88 */ --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip