From: Patrick McHardy <kaber@trash.net>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v0] netns NOTRACK
Date: Fri, 12 Feb 2010 15:45:50 +0100 [thread overview]
Message-ID: <4B75699E.9070901@trash.net> (raw)
In-Reply-To: <b6fcc0a1002120432t133ef769jc877d92b1f106af2@mail.gmail.com>
Alexey Dobriyan wrote:
> On Thu, Feb 11, 2010 at 7:59 PM, Patrick McHardy <kaber@trash.net> wrote:
>> Alexey Dobriyan wrote:
>>> --- a/net/bridge/br_netfilter.c
>>> +++ b/net/bridge/br_netfilter.c
>>> @@ -792,9 +792,11 @@ static unsigned int br_nf_local_out(unsigned int hook, struct sk_buff *skb,
>>> }
>>>
>>> #if defined(CONFIG_NF_CONNTRACK_IPV4) || defined(CONFIG_NF_CONNTRACK_IPV4_MODULE)
>>> +#include <net/netfilter/nf_conntrack.h>
>>> +
>>> static int br_nf_dev_queue_xmit(struct sk_buff *skb)
>>> {
>>> - if (skb->nfct != NULL &&
>>> + if ((skb->nfct != NULL || nf_ct_is_untracked(skb)) &&
>> Seems unnecessary since nfct should be NULL when the conntrack
>> is untracked.
>
> Before untracked connections would pass the test, so additional check required.
Actually they are supposed to pass this test since they
are also defragmented.
next prev parent reply other threads:[~2010-02-12 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 17:31 [PATCH v0] netns NOTRACK Alexey Dobriyan
2010-02-11 17:59 ` Patrick McHardy
2010-02-11 18:04 ` Jan Engelhardt
2010-02-12 12:24 ` Alexey Dobriyan
2010-02-12 12:36 ` Jan Engelhardt
2010-02-12 12:32 ` Alexey Dobriyan
2010-02-12 14:45 ` Patrick McHardy [this message]
2010-02-12 12:42 ` Alexey Dobriyan
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=4B75699E.9070901@trash.net \
--to=kaber@trash.net \
--cc=adobriyan@gmail.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.