Re: [PATCH net] net/sched: act_sample: don't push mac header on ip6gre ingress

2019-09-20 Thread Jakub Kicinski
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

Re: [PATCH net] net/sched: act_sample: don't push mac header on ip6gre ingress

2019-09-17 Thread yotam gigi
On Tue, Sep 17, 2019 at 1:02 PM 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

[PATCH net] net/sched: act_sample: don't push mac header on ip6gre ingress

2019-09-17 Thread Davide Caratti
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 \ >