[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190920181210.70d56137@cakuba.netronome.com>
Date: Fri, 20 Sep 2019 18:12:10 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Davide Caratti <dcaratti@...hat.com>
Cc: Jiri Pirko <jiri@...nulli.us>,
Cong Wang <xiyou.wangcong@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Yotam Gigi <yotamg@...lanox.com>
Subject: Re: [PATCH net] net/sched: act_sample: don't push mac header on
ip6gre ingress
On Tue, 17 Sep 2019 11:30:55 +0200, Davide Caratti wrote:
> current 'sample' action doesn't push the mac header of ingress packets if
> they are received by a layer 3 tunnel (like gre or sit); but it forgot to
> check for gre over ipv6, so the following script:
>
> # tc q a dev $d clsact
> # tc f a dev $d ingress protocol ip flower ip_proto icmp action sample \
> > group 100 rate 1
> # psample -v -g 100
>
> dumps everything, including outer header and mac, when $d is a gre tunnel
> over ipv6. Fix this adding a missing label for ARPHRD_IP6GRE devices.
>
> Fixes: 5c5670fae430 ("net/sched: Introduce sample tc action")
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
Applied, queued for stable, thank you!
Powered by blists - more mailing lists