commit | 43c8f131184faf20c07221f3e09724611c6525d8 | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Fri May 03 01:56:38 2019 +0900 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon May 06 00:36:30 2019 +0200 |
tree | f4fc0660fd0fbdb891bfaf503fe23003cb873136 | |
parent | edbd82c5fba009f68d20b5db585be1e667c605f6 [diff] |
netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast rhashtable_insert_fast() may return an error value when memory allocation fails, but flow_offload_add() does not check for errors. This patch just adds missing error checking. Fixes: ac2a66665e23 ("netfilter: add generic flow table infrastructure") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>