mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Bart Trojanowski <bart@jukie.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.19 fix for fuzzy hash <linux/ghash.h>
Date: Wed, 18 Sep 2002 13:11:41 +1000	[thread overview]
Message-ID: <20020918131141.1938a4d8.rusty@rustcorp.com.au> (raw)
In-Reply-To: <20020911140232.R32387@jukie.net>

On Wed, 11 Sep 2002 14:02:32 -0400
Bart Trojanowski <bart@jukie.net> wrote:

> The DEF_HASH_FUZZY macro allows the user to template their hash; it
> takes on a paramter for the hashing-function, namely HASHFN.  When used
> with a hashing-function named anything other than 'hashfn()', a module
> using the kernel's fuzzy hash implementation will not compile.
> 
> None of the in-kernel 2.4.x drivers use this primitive (yet) so it's no
> wonder no one has spotted it.  The patch is very trivial and makes me
> think that I am the very first user of the include/linux/ghash.h
> hash-table primitive.   ;)

That's why I was going to submit a patch to turf it out in 2.5.
2.5's include/hash.h provides a hashing function: did you really want ghash.h?

Cheers,
Rusty.
-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy

      parent reply	other threads:[~2002-09-18  3:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-11 18:02 Bart Trojanowski
2002-09-11 18:13 ` Bart Trojanowski
2002-09-18  3:11 ` Rusty Russell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020918131141.1938a4d8.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=bart@jukie.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®