[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200803080217.391850-1-liuhangbin@gmail.com>
Date: Mon, 3 Aug 2020 16:02:15 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: netdev@...r.kernel.org
Cc: Guillaume Nault <gnault@...hat.com>,
Petr Machata <pmachata@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
David Ahern <dsahern@...nel.org>,
Eelco Chaudron <echaudro@...hat.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [PATCH net-next 0/2] Add IP_DSCP_MASK and fix vxlan tos value before xmit
This patch set is aim to update the old IP_TOS_MASK to new IP_DSCP_MASK
as tos value has been obsoleted for a long time. But to make sure we don't
break any existing behaviour, we can't just replease all IP_TOS_MASK
to new IP_DSCP_MASK.
So let's update it case by case. The first issue we will fix is that vxlan
is unable to take the first 3 bits from DSCP field before xmit. Use the
new RT_DSCP() would resolve this.
Hangbin Liu (2):
net: add IP_DSCP_MASK
vxlan: fix getting tos value from DSCP field
drivers/net/vxlan.c | 4 ++--
include/uapi/linux/in_route.h | 1 +
include/uapi/linux/ip.h | 2 ++
3 files changed, 5 insertions(+), 2 deletions(-)
--
2.25.4
Powered by blists - more mailing lists