From: Florian Westphal <fw@strlen.de>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Florian Westphal <fw@strlen.de>, netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] net: add and use skb_gso_transport_seglen()
Date: Sun, 26 Jan 2014 10:19:48 +0100 [thread overview]
Message-ID: <20140126091948.GE24041@breakpoint.cc> (raw)
In-Reply-To: <1390699688.27806.66.camel@edumazet-glaptop2.roam.corp.google.com>
Eric Dumazet <eric.dumazet@gmail.com> wrote:
> On Sat, 2014-01-25 at 23:48 +0100, Florian Westphal wrote:
> > --- a/net/core/skbuff.c
> > +++ b/net/core/skbuff.c
> > @@ -45,6 +45,7 @@
> > #include <linux/mm.h>
> > #include <linux/interrupt.h>
> > #include <linux/in.h>
> > +#include <linux/tcp.h>
> > #include <linux/inet.h>
> > #include <linux/slab.h>
> > #include <linux/netdevice.h>
> > @@ -71,6 +72,8 @@
> > #include <trace/events/skb.h>
> > #include <linux/highmem.h>
> >
> > +#include <uapi/linux/udp.h>
>
>
> Normally you should not use uapi/
I added this include to ensure sizeof(struct udphdr) works.
I'll change it to linux/udp.h
> > diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c
> > index 887e672..837a61b 100644
> > --- a/net/sched/sch_tbf.c
> > +++ b/net/sched/sch_tbf.c
>
> It seems you forgot to remove from this file this include :
>
> #include <net/tcp.h>
Indeed, thanks for spotting this.
> Otherwise, this seems good, thanks !
Thanks for reviewing Eric!
next prev parent reply other threads:[~2014-01-26 9:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 22:48 [PATCH 0/2] Fix handling of GRO skbs in forwarding path Florian Westphal
2014-01-25 22:48 ` [PATCH 1/2] net: add and use skb_gso_transport_seglen() Florian Westphal
2014-01-26 1:28 ` Eric Dumazet
2014-01-26 9:19 ` Florian Westphal [this message]
2014-01-25 22:48 ` [PATCH 2/2] net: ip, ipv6: handle gso skbs in forwarding path Florian Westphal
2014-01-26 1:37 ` Eric Dumazet
2014-01-26 9:22 ` Florian Westphal
-- strict thread matches above, loose matches on Subject: below --
2014-01-27 8:22 [PATCH 1/2] net: add and use skb_gso_transport_seglen() Florian Westphal
2014-01-27 8:30 ` David Miller
2014-02-22 9:33 [PATCH stable 3.4.y 0/2] gso/gro forwarding changeset Florian Westphal
2014-02-22 9:33 ` [PATCH 1/2] net: add and use skb_gso_transport_seglen() Florian Westphal
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=20140126091948.GE24041@breakpoint.cc \
--to=fw@strlen.de \
--cc=eric.dumazet@gmail.com \
--cc=netdev@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.