All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: fenglg <flg2932946@163.com>
Cc: netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: Re: i don't know whether it is a bug?
Date: Mon, 19 May 2008 18:00:56 +0200	[thread overview]
Message-ID: <4831A438.4030907@netfilter.org> (raw)
In-Reply-To: <48316799.01FDFE.05405@m5-82.163.com>

fenglg wrote:
> void build_netpld(struct nf_conntrack *ct, struct netpld *pld, int query)
> {
> 	if (nfct_attr_is_set(ct, ATTR_IPV4_SRC))
> 		__build_pointer_be(ct, pld, ATTR_IPV4_SRC, sizeof(uint32_t));
> 	........
> 	/* setup the master conntrack */
> 	if (nfct_attr_is_set(ct, ATTR_MASTER_IPV4_SRC))
> 		__build_u32(ct, pld, ATTR_MASTER_IPV4_SRC);
> 	........
> }
>     The __build_u32 will use get_attr_array[type](ct) which is in libnetfilter_conntrack-0.0.89/src/conntrack/api.c. But the defination of get_attr_array has not ATTR_MASTER_IPV4_SRC.

This bug was reported by Max Wilhelm some weeks ago. It is already fixed
in Netfilter's git repository. I'll release a new version soon.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

      reply	other threads:[~2008-05-19 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 11:27 i don't know whether it is a bug? fenglg
2008-05-19 16:00 ` Pablo Neira Ayuso [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=4831A438.4030907@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=flg2932946@163.com \
    --cc=netfilter-devel@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 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.