All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
Cc: rusty@rustcorp.com.au, netfilter-devel@lists.netfilter.org,
	pablo@netfilter.org, kadlec@blackhole.kfki.hu
Subject: Re: [PATCH 03/10] nf_conntrack: Use extension infrastructure for helper
Date: Mon, 25 Jun 2007 12:06:18 +0200	[thread overview]
Message-ID: <467F939A.9080907@trash.net> (raw)
In-Reply-To: <200706250314.l5P3EmZD019561@toshiba.co.jp>

Yasuyuki KOZAKAI wrote:
> --- a/include/net/netfilter/nf_conntrack_extend.h
> +++ b/include/net/netfilter/nf_conntrack_extend.h
> @@ -5,9 +5,12 @@
>  
>  enum nf_ct_ext_id
>  {
> +	NF_CT_EXT_HELPER,
>  	NF_CT_EXT_MAX,
>  } __attribute__((packed));


Don't use attribute packed please, just use an u8 if you want to
make sure it doesn't need more space than that.

Minor nitpick: it would be more logical if max would be the
highest value, not highest value + 1. The array should then
be declared with size max + 1. But thats just my preference,
half the code out there seems to use max + 1 as maximum, so
keep it if you like.

  reply	other threads:[~2007-06-25 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25  3:14 [PATCH 03/10] nf_conntrack: Use extension infrastructure for helper Yasuyuki KOZAKAI
2007-06-25 10:06 ` Patrick McHardy [this message]
2007-06-25 15:44   ` Yasuyuki KOZAKAI
     [not found]   ` <200706251544.l5PFix3l028630@toshiba.co.jp>
2007-06-25 15:47     ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2007-06-25 17:21 Yasuyuki KOZAKAI
     [not found] <200706251721.l5PHLegZ002188@toshiba.co.jp>
2007-06-25 18:18 ` Patrick McHardy

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=467F939A.9080907@trash.net \
    --to=kaber@trash.net \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pablo@netfilter.org \
    --cc=rusty@rustcorp.com.au \
    --cc=yasuyuki.kozakai@toshiba.co.jp \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.