[ovs-git] [openvswitch/ovs] b75f26: ovn: Calculate UDP checksum for DNS over IPv6

GitHub noreply at github.com
Wed Mar 7 20:37:21 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b75f26517d17d15e24789cf6404e11f518d356ca
      https://github.com/openvswitch/ovs/commit/b75f26517d17d15e24789cf6404e11f518d356ca
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2018-03-07 (Wed, 07 Mar 2018)

  Changed paths:
    M ovn/controller/pinctrl.c
    M tests/ovn.at

  Log Message:
  -----------
  ovn: Calculate UDP checksum for DNS over IPv6

Unlike IPv4, IPv6 mandates the calculation of the UDP checksum. For DNS
resolution in OVN, we were setting the checksum to 0, which results in
errors.

This patch fixes the problem by calculating the checksum for DNS over
IPv6. It also alters the applicable test by skipping the checksum when
comparing the expected and actual packets.

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list