[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLCyo8RgjHAg7YsQJCpS-P=76M5ZN1Ps3HhAzm-gZJpGw@mail.gmail.com>
Date: Mon, 30 Jan 2017 15:45:35 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Tom Herbert <tom@...bertland.com>
Cc: Dimitris Michailidis <dmichail@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH] ipv6: fix flow labels when the traffic class is non-0
On Mon, Jan 30, 2017 at 3:40 PM, Tom Herbert <tom@...bertland.com> wrote:
> Thanks for pointing out the issue, but I don't think this fix is quite
> right. This would be discarding traffic class from being in the return
> value. I can try to fix that.
Fix looks fine to me.
ip6_make_flowlabel() is usually used in an enclosing ip6_flow_hdr(),
which gives the tclass.
ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel,
np->autoflowlabel, fl6));
Powered by blists - more mailing lists