From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balazs Nemeth Subject: [PATCH 0/4] table: fix bugs occuring in corner cases Date: Fri, 26 Sep 2014 09:37:36 +0000 Message-ID: <1411724260-4281-1-git-send-email-balazs.nemeth@intel.com> Cc: Balazs Nemeth To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" This set of patches fixes bugs in the packet framework. Some of the bugs occur in corner cases (i.e. when a lookup is performed on a few packets or when buckets are in extended states) while others can cause memory to be accessed beyond what is reserved during initialization time. Balazs Nemeth (4): table: fix empty bucket removal during entry deletion in rte_table_hash_ext table: fix checking extended buckets in unoptimized case table: fix incorrect t->data_size_shl initialization table: fix pointer calculations at initialization lib/librte_table/rte_table_hash_ext.c | 13 ++++++------- lib/librte_table/rte_table_hash_key16.c | 4 ++-- lib/librte_table/rte_table_hash_key32.c | 4 ++-- lib/librte_table/rte_table_hash_key8.c | 8 ++++---- lib/librte_table/rte_table_hash_lru.c | 7 +++---- 5 files changed, 17 insertions(+), 19 deletions(-) -- 2.1.0