lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1436917549-3666965-1-git-send-email-tom@herbertland.com>
Date:	Tue, 14 Jul 2015 16:45:46 -0700
From:	Tom Herbert <tom@...bertland.com>
To:	<davem@...emloft.net>, <netdev@...r.kernel.org>, <tgraf@...g.ch>,
	<herbert@...dor.apana.org.au>
CC:	<kernel-team@...com>
Subject: [PATCH v2 net-next 0/3] rhashtable: Wildcard and scored lookups

This patch set implements:
  - A compare function can be passed in the lookup. This allows for
    comparison to include "wildcard fields"
  - Order insertion within a bucket, so that entries with more specific
    information can be matched first.
  - Scored lookups. This is like the socket lookups. It allows
    different levels of matching, and returning one of N possible
    best matches with a uniform distribution based on flow hash.

Testing: Tested this in conjunction with ILA development. Will be
posting ILA patches shortly.

V2:
 - Added rhashtable_lookup_ordered_cmpfn to ensure that greatest
   ordered matching entry is found during rehashing
 - Minor cleanup to scored lookup patch

Tom Herbert (3):
  rhashtable: Allow lookup function to have compare function agument
  rhashtable: Add a function for in order insertion and lookup in
    buckets
  rhashtable: Add scored lookups

 include/linux/rhashtable.h | 194 +++++++++++++++++++++++++++++++++++++++++++--
 lib/rhashtable.c           |  20 ++---
 2 files changed, 196 insertions(+), 18 deletions(-)

-- 
1.8.1

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ