]> git.proxmox.com Git - ovs.git/commit
ovn: Fix the invalid eth.dst and ip6.dst set by nd_ns action for certain cases.
authorNuman Siddique <nusiddiq@redhat.com>
Mon, 17 Dec 2018 16:19:44 +0000 (21:49 +0530)
committerBen Pfaff <blp@ovn.org>
Tue, 18 Dec 2018 00:12:14 +0000 (16:12 -0800)
commit250ed43465c7beeff171b6deb3e33a10d73be94a
tree58d462126d5d01ea033b6ebe5e11d19bf258bfde
parent5a77cf961e346cb949a231e282d70ebac00358c8
ovn: Fix the invalid eth.dst and ip6.dst set by nd_ns action for certain cases.

When an IPv6 packet enters a router pipeline and it needs to be routed via
the nexthop IP address set in the static route, OVN generates an IPv6
Neigh Solicitation request if the nexthop IP is not resolved yet. But
right now, the generated IPv6 Neigh Solicitation packet doesn't set
the eth.dst to the mutlicast address derived from the nexthop and
ip6.dst to the solicited-node multicast address corresponding to the
nexthop address. Instead it generates these values from the actual
ip6.dst of the original packet.

This patch fixes this issue.

Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/northd/ovn-northd.8.xml
ovn/northd/ovn-northd.c
tests/ovn.at