All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 39c2f891 authored by Jarno Rajahalme's avatar Jarno Rajahalme

odp-util: Fix put_nd_key().

Actually copy the 'nd_target' from the key.

Found by inspection.
Signed-off-by: default avatarJarno Rajahalme <jrajahalme@nicira.com>
Acked-by: default avatarBen Pfaff <blp@nicira.com>
parent 63013a50
......@@ -4762,7 +4762,7 @@ get_nd_key(const struct flow *flow, struct ovs_key_nd *nd)
static void
put_nd_key(const struct ovs_key_nd *nd, struct flow *flow)
{
memcpy(&flow->nd_target, &flow->nd_target, sizeof flow->nd_target);
memcpy(&flow->nd_target, nd->nd_target, sizeof flow->nd_target);
/* nd_sll and nd_tll are stored in arp_sha and arp_tha, respectively */
memcpy(flow->arp_sha, nd->nd_sll, ETH_ADDR_LEN);
memcpy(flow->arp_tha, nd->nd_tll, ETH_ADDR_LEN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment