Re: [PATCH v3 2/2 nf-next] netfilter: Add the missed return value check of nft_register_chain_type

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

 



On Fri, Sep 09, 2016 at 11:25:36PM +0800, fgao@xxxxxxxxxx wrote:
> From: Gao Feng <fgao@xxxxxxxxxx>
> 
> There are some codes of netfilter module which did not check the return
> value of nft_register_chain_type. Add the checks now.
> 
> Signed-off-by: Gao Feng <fgao@xxxxxxxxxx>
> ---
>  v3: Split return value check of nft_register_chain_type as second patch
>  v2: Add all return value checks in netfilter module
>  v1: Initial patch
> 
>  net/netfilter/nf_tables_inet.c   | 13 ++++++++++---
>  net/netfilter/nf_tables_netdev.c | 14 +++++++++-----
>  2 files changed, 19 insertions(+), 8 deletions(-)

Missing bridge chunk:

# git grep nft_register_chain_type net/bridge/
net/bridge/netfilter/nf_tables_bridge.c: nft_register_chain_type(&filter_bridge);
--
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