netfilter: Add the missed return value check of nft_register_chain_type
authorGao Feng <fgao@ikuai8.com>
Sat, 10 Sep 2016 02:04:30 +0000 (10:04 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Sep 2016 17:54:45 +0000 (19:54 +0200)
commit23d07508d25cea9984ee068538b4e86932b015c2
tree833a38e0a77fe244b9a5ca0f41c571f97d411db2
parent4e6577de71803142d01e374cf15664af0388799a
netfilter: Add the missed return value check of nft_register_chain_type

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@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/nf_tables_bridge.c
net/ipv4/netfilter/nf_tables_arp.c
net/ipv4/netfilter/nf_tables_ipv4.c
net/ipv6/netfilter/nf_tables_ipv6.c
net/netfilter/nf_tables_inet.c
net/netfilter/nf_tables_netdev.c
This page took 0.024643 seconds and 5 git commands to generate.