Hi Ole,
Thank you for your reply.

I am not using any tunneling protocol in my case(IPV6+UDP+ payload)

RFC 6935 says,
"The update is specified for use by a tunnel protocol that transports  packets
that are themselves protected by a checksum."

>>> In VPP we basically leave it up to the application to decide if it
requires the UDP checksum or not.
    So, will VPP maintain the same behavior even for non-tunneled IPV6 UDP
datagrams?

Thanks
Shiva

On Thu, Jan 2, 2020 at 4:03 PM <otr...@employees.org> wrote:

> Hi Shiva,
>
> > I was going through ip6 code, and observed VPP skips calculating UDP
> checksum for packets with explicit zero checksum, and process the packet
> "normally".  (This, after disabling HW checksum offload)
> >
> > But, as per RFC-2460,
> > "IPv6 receivers must discard UDP packets containing a zero checksum, and
> should log the error."
> >
> > Is this expected behavior from VPP? Or will it be modified to be RFC
> compliant?
>
> The IPv6 UDP checksum behaviour was updated with RFC6935 and RFC6936.
> In VPP we basically leave it up to the application to decide if it
> requires the UDP checksum or not.
>
> Best regards,
> Ole
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15011): https://lists.fd.io/g/vpp-dev/message/15011
Mute This Topic: https://lists.fd.io/mt/69364719/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to