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

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


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: b91dd29864d853228add9d9d432ca3d1bbc4fa43
      https://github.com/openvswitch/ovs/commit/b91dd29864d853228add9d9d432ca3d1bbc4fa43
  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