Re: [PATCHv2 net 2/2] vxlan: fix getting tos value from DSCP field

2020-08-04 Thread Hangbin Liu
On Tue, Aug 04, 2020 at 12:47:56PM -0700, David Miller wrote: > From: Hangbin Liu > Date: Tue, 4 Aug 2020 09:43:12 +0800 > > > In commit 71130f29979c ("vxlan: fix tos value before xmit") we strict > > the vxlan tos value before xmit. But as IP tos field has been obsoleted > > by RFC2474, and upd

Re: [PATCHv2 net 2/2] vxlan: fix getting tos value from DSCP field

2020-08-04 Thread David Miller
From: Hangbin Liu Date: Tue, 4 Aug 2020 09:43:12 +0800 > In commit 71130f29979c ("vxlan: fix tos value before xmit") we strict > the vxlan tos value before xmit. But as IP tos field has been obsoleted > by RFC2474, and updated by RFC3168 later. We should use new DSCP field, > or we will lost the

[PATCHv2 net 2/2] vxlan: fix getting tos value from DSCP field

2020-08-03 Thread Hangbin Liu
In commit 71130f29979c ("vxlan: fix tos value before xmit") we strict the vxlan tos value before xmit. But as IP tos field has been obsoleted by RFC2474, and updated by RFC3168 later. We should use new DSCP field, or we will lost the first 3 bits value when xmit. Fixes: 71130f29979c ("vxlan: fix t