[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1559237173.git.dcaratti@redhat.com>
Date: Thu, 30 May 2019 20:03:40 +0200
From: Davide Caratti <dcaratti@...hat.com>
To: Eric Dumazet <eric.dumazet@...il.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Jamal Hadi Salim <jhs@...atatu.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc: shuali@...hat.com, Eli Britstein <elibr@...lanox.com>
Subject: [PATCH net v2 0/3] net/sched: fix QinQ when actions read IPv4/IPv6 header
'act_csum' was recently fixed to mangle the IPv4/IPv6 header if a packet
having one or more VLAN headers was processed: patch #1 ensures that all
VLAN headers are in the linear area of the skb.
Other actions might read or mangle the IPv4/IPv6 header: patch #2 and #3
fix 'act_pedit' and 'act_skbedit' respectively.
Changes since v1:
- add patch #1, thanks to Eric Dumazet
- add patch #3
Davide Caratti (3):
net/sched: act_csum: pull all VLAN headers before checksumming
net/sched: act_pedit: fix 'ex munge' on network header in case of QinQ
packet
net/sched: act_skbedit: fix 'inheritdsfield' in case of QinQ packet
include/net/pkt_cls.h | 21 +++++++++++++++++++++
net/sched/act_csum.c | 14 ++------------
net/sched/act_pedit.c | 26 ++++++++++++++++++++++----
net/sched/act_skbedit.c | 26 +++++++++++++++++++++-----
4 files changed, 66 insertions(+), 21 deletions(-)
--
2.20.1
Powered by blists - more mailing lists