netfilter: Add the missed return value check of register_netdevice_notifier
authorGao Feng <fgao@ikuai8.com>
Fri, 9 Sep 2016 15:25:09 +0000 (23:25 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Sep 2016 17:54:43 +0000 (19:54 +0200)
commit4e6577de71803142d01e374cf15664af0388799a
tree31cc9b67b0efe071ad9ea072e83dd2fc74c07a3d
parentcf71c03edf10076f05a0b678fc9c8f8e6c6e24e4
netfilter: Add the missed return value check of register_netdevice_notifier

There are some codes of netfilter module which did not check the return
value of register_netdevice_notifier. Add the checks now.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_netdev.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_TEE.c