commit | 36e0f12bbfd3016f495904b35e41c5711707509f | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Thu Jul 26 23:17:03 2018 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 27 03:43:16 2018 +0200 |
tree | 84480035ecd09784ab8398e884c9652a62ed9f6e | |
parent | d24458e43b103c7eb7b2fd57bcac392fd7750438 [diff] |
xdp: add NULL pointer check in __xdp_return() rhashtable_lookup() can return NULL. so that NULL pointer check routine should be added. Fixes: 02b55e5657c3 ("xdp: add MEM_TYPE_ZERO_COPY") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>