From: "David S. Miller" <davem@redhat.com>
To: Bart De Schuymer <bdschuym@pandora.be>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] Fix ip_queue for bridged packets
Date: Mon, 27 Oct 2003 00:04:47 -0800 [thread overview]
Message-ID: <20031027000447.417915d0.davem@redhat.com> (raw)
In-Reply-To: <200310251709.13913.bdschuym@pandora.be>
On Sat, 25 Oct 2003 17:09:13 +0200
Bart De Schuymer <bdschuym@pandora.be> wrote:
> When ip_queue copies an old skbuff to a new one (because the tailroom is
> too small), it uses skb_copy_expand(). This function doesn't copy the
> Ethernet header, which is not needed for normal IP traffic. Normally, the
> Ethernet header is filled in later before doing dev_queue_xmit.
> When ip_queue does this to a bridged IP packet, it has to copy the Ethernet
> header, because the Ethernet header is already filled in and won't be filled
> in again.
> The patch below makes this happen. It puts the code that actually copies the
> header inside netfilter_bridge.h, so that it can be reused and altered
> without touching other code.
>
> The patch is already approved by Stephen Hemminger (in private mail).
> Since Harald Welte excels in silence, I'm sending netfilter stuff directly
> to you from now on.
I thought we were taking care of this stuff via other means?
This problem feels like an old one to me, and it's why we added all
the bridge netfilter objects to struct sk_buff, right? Why doesn't
that take care of this instance of the problem?
next prev parent reply other threads:[~2003-10-27 8:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-25 15:09 [PATCH] Fix ip_queue for bridged packets Bart De Schuymer
2003-10-27 8:04 ` David S. Miller [this message]
2003-10-27 23:02 ` Bart De Schuymer
2003-10-28 14:02 ` David S. Miller
2003-10-28 14:56 ` David S. Miller
2003-10-29 7:00 ` Bart De Schuymer
2003-10-29 22:25 ` Bart De Schuymer
2003-10-29 22:41 ` David S. Miller
2003-10-28 19:09 ` Scott MacKay
2003-10-31 12:53 ` Scott MacKay
2003-10-31 17:30 ` Bart De Schuymer
-- strict thread matches above, loose matches on Subject: below --
2003-10-12 20:43 Bart De Schuymer
2003-10-14 10:58 ` Harald Welte
2003-10-15 18:33 ` Bart De Schuymer
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=20031027000447.417915d0.davem@redhat.com \
--to=davem@redhat.com \
--cc=bdschuym@pandora.be \
--cc=netfilter-devel@lists.netfilter.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.