Thread (31 messages) flat view 31 messages, 7 authors, 2016-01-11

Re: [PATCH v2 net-next 3/5] net: vxlan: enable local checksum offload

From: Tom Herbert <hidden>
Date: 2016-01-08 22:07:10

On Fri, Jan 8, 2016 at 1:36 PM, Rick Jones [off-list ref] wrote:
On 01/08/2016 01:22 PM, Alexander Duyck wrote:
quoted
 and we don't require the remote end to validate the outer checksum.

Doesn't the UDP specification require validating a non-zero checksum on
receipt?
Yes, VXLAN RFC is broken in this regard since it allows a receiver to
ignore a non-zero checksums. In Linux we always validate non-zero
checksums.

For VXLAN, UDP checksums are not enabled for IPv4 by default, but are
enabled by default for IPv6. Checksums are required for UDP/IPv6,
however RFC6935 and RFC6936 relax this requirement a bit for tunnels,
although IMO not enough to make disabling UDP checksums for VXLAN/IPv6
the default.

Tom
rick jones
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help