commit | 18218f827e3c0aabe07ad686c6071b33df411e32 | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Thu Nov 22 19:59:46 2018 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 17 09:24:36 2018 +0100 |
tree | f796c1805881dc54cdc9dea1992c7d6d01f8a2c8 | |
parent | 4f03e063a55453d0bfc86750ae4829ec86e091e7 [diff] |
netfilter: add missing error handling code for register functions [ Upstream commit 584eab291c67894cb17cc87544b9d086228ea70f ] register_{netdevice/inetaddr/inet6addr}_notifier may return an error value, this patch adds the code to handle these error paths. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>