Re: [PATCH nf-next] netfilter: ebt: Use ebt_invalid_target instead of INVALID_TARGET

2017-05-31 Thread Pablo Neira Ayuso
On Wed, May 31, 2017 at 09:28:12AM +0800, gfree.w...@vip.163.com wrote: > From: Gao Feng > > Use the new helper function ebt_invalid_target instead of the old > macro INVALID_TARGET to enhance the readability. ebt_mark and _snat can use this too. They seem to be

[PATCH nf-next] netfilter: ebt: Use ebt_invalid_target instead of INVALID_TARGET

2017-05-30 Thread gfree . wind
From: Gao Feng Use the new helper function ebt_invalid_target instead of the old macro INVALID_TARGET to enhance the readability. Signed-off-by: Gao Feng --- include/linux/netfilter_bridge/ebtables.h | 2 -- net/bridge/netfilter/ebt_dnat.c