Re: [PATCH] netfilter: nftables: fix warning in nft_reject

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

 



On Mon, Jan 06, 2014 at 10:19:14PM +0100, Eric Leblond wrote:
> The 0-day testing from Fenguang Wu issued the following warning:
>  net/netfilter/nft_reject.c: In function 'nft_reject_eval':
>  >> net/netfilter/nft_reject.c:37:14: warning: unused variable 'net' [-Wunused-variable]
>       struct net *net = dev_net((pkt->in != NULL) ? pkt->in : pkt->out);
> 
> This is due to the fact that if IPv6 is not build the variable is
> indeed unused.

Thanks Eric.

I sent this patch a bit earlier to address this:

http://patchwork.ozlabs.org/patch/307435/
--
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