commit | cc07eeb0e5ee18895241460bdccf91a4952731f9 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Mar 27 11:53:06 2018 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Mar 30 11:29:18 2018 +0200 |
tree | d13f7712413b05a12acdb22967d7c6e422daff1c | |
parent | 32537e91847a5686d57d3811c075a46b2d9b6434 [diff] |
netfilter: nf_tables: nft_register_chain_type() returns void Use WARN_ON() instead since it should not happen that neither family goes over NFPROTO_NUMPROTO nor there is already a chain of this type already registered. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>