Re: [PATCH 1/3] netfilter: nf_tables: avoid uninitialized variable warning

2016-09-30 Thread Pablo Neira Ayuso
On Fri, Sep 30, 2016 at 07:47:49PM +0200, Pablo Neira Ayuso wrote: > On Fri, Sep 30, 2016 at 06:05:34PM +0200, Arnd Bergmann wrote: > > The newly added nft_range_eval() function handles the two possible > > nft range operations, but as the compiler warning points out, > > any unexpected value would

Re: [PATCH 1/3] netfilter: nf_tables: avoid uninitialized variable warning

2016-09-30 Thread Pablo Neira Ayuso
On Fri, Sep 30, 2016 at 06:05:34PM +0200, Arnd Bergmann wrote: > The newly added nft_range_eval() function handles the two possible > nft range operations, but as the compiler warning points out, > any unexpected value would lead to the 'mismatch' variable being > used without being initialized: >

[PATCH 1/3] netfilter: nf_tables: avoid uninitialized variable warning

2016-09-30 Thread Arnd Bergmann
The newly added nft_range_eval() function handles the two possible nft range operations, but as the compiler warning points out, any unexpected value would lead to the 'mismatch' variable being used without being initialized: net/netfilter/nft_range.c: In function 'nft_range_eval': net/netfilter/n