From: "Michael S. Tsirkin" <mst@redhat.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: John Fastabend <john.r.fastabend@intel.com>,
fubar@us.ibm.com, davem@davemloft.net, nhorman@tuxdriver.com,
bonding-devel@lists.sourceforge.net, netdev@vger.kernel.org
Subject: Re: [PATCH v2] net: deliver skbs on inactive slaves to exact matches
Date: Mon, 14 Jun 2010 17:10:12 +0300 [thread overview]
Message-ID: <20100614141012.GA25547@redhat.com> (raw)
In-Reply-To: <1276522708.2478.89.camel@edumazet-laptop>
On Mon, Jun 14, 2010 at 03:38:28PM +0200, Eric Dumazet wrote:
> Le lundi 14 juin 2010 à 15:34 +0200, Eric Dumazet a écrit :
>
> > [PATCH] net: fix deliver_no_wcard regression on loopback device
> >
> > deliver_no_wcard is not being set in skb_copy_header.
> > In the skb_cloned case it is not being cleared and
> > may cause the skb to be dropped when the loopback device
> > pushes it back up the stack.
> >
> > Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
> > Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
>
> Oh I forgot :
>
> Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Grr. Could have saved myself a bit of time if I guessed
it's related.
> > ---
> > diff --git a/net/core/skbuff.c b/net/core/skbuff.c
> > index 9f07e74..bcf2fa3 100644
> > --- a/net/core/skbuff.c
> > +++ b/net/core/skbuff.c
> > @@ -532,6 +532,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
> > new->ip_summed = old->ip_summed;
> > skb_copy_queue_mapping(new, old);
> > new->priority = old->priority;
> > + new->deliver_no_wcard = old->deliver_no_wcard;
> > #if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE)
> > new->ipvs_property = old->ipvs_property;
> > #endif
> >
>
prev parent reply other threads:[~2010-06-14 14:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 19:30 [PATCH v2] net: deliver skbs on inactive slaves to exact matches John Fastabend
2010-06-11 5:31 ` David Miller
2010-06-14 13:21 ` Michael S. Tsirkin
2010-06-14 13:34 ` Eric Dumazet
2010-06-14 13:38 ` Eric Dumazet
2010-06-14 14:10 ` Michael S. Tsirkin [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=20100614141012.GA25547@redhat.com \
--to=mst@redhat.com \
--cc=bonding-devel@lists.sourceforge.net \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=fubar@us.ibm.com \
--cc=john.r.fastabend@intel.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
/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.