netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Joonwoo Park <joonwpark81@gmail.com>
Cc: netdev <netdev@vger.kernel.org>,
	netfilter-devel <netfilter-devel@vger.kernel.org>,
	Thomas Graf <tgraf@suug.ch>,
	Pablo Neira Ayuso <pablo@netfilter.org>
Subject: Re: [PATCH 1/8] textsearch: fix textsearch for case insensitive searching
Date: Sat, 21 Jun 2008 10:21:10 +0200	[thread overview]
Message-ID: <485CB9F6.6050601@trash.net> (raw)
In-Reply-To: <1214034838-1270-1-git-send-email-joonwpark81@gmail.com>

Joonwoo Park wrote:
> The function textsearch_prepare has new parameter to support case
> insensitive searching.
> 
> Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
> ---
>  include/linux/textsearch.h          |    6 ++++--
>  lib/textsearch.c                    |    6 ++++--
>  net/netfilter/nf_conntrack_amanda.c |    2 +-
>  net/netfilter/xt_string.c           |    2 +-
>  net/sched/em_text.c                 |    2 +-
>  5 files changed, 11 insertions(+), 7 deletions(-)
> 
> diff --git a/include/linux/textsearch.h b/include/linux/textsearch.h
> index 6f371f2..b6897f3 100644
> --- a/include/linux/textsearch.h
> +++ b/include/linux/textsearch.h
> @@ -39,7 +39,7 @@ struct ts_state
>  struct ts_ops
>  {
>  	const char		*name;
> -	struct ts_config *	(*init)(const void *, unsigned int, gfp_t);
> +	struct ts_config *	(*init)(const void *, unsigned int, u8, gfp_t);


This looks fine to me, although a generic flags argument
would prevent changing all users again next time someone
wants to add a feature. But I'll leave that decision to
Thomas.

Thomas, since there are some netfilter patches that depend
on the textsearch patches, do you want me to apply those as
well (haven't reviewed them yet though)?

  reply	other threads:[~2008-06-21  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-21  7:53 [PATCH 1/8] textsearch: fix textsearch for case insensitive searching Joonwoo Park
2008-06-21  8:21 ` Patrick McHardy [this message]
2008-06-23 23:22   ` Thomas Graf
2008-06-24 12:27     ` Patrick McHardy
2008-06-24 14:56       ` Joonwoo Park

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=485CB9F6.6050601@trash.net \
    --to=kaber@trash.net \
    --cc=joonwpark81@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=tgraf@suug.ch \
    /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;
as well as URLs for NNTP newsgroup(s).