aboutsummaryrefslogtreecommitdiff
path: root/net/ndisc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-23 07:44:30 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 07:44:30 -0500
commit24a0a00f07fcbf4f8ca64cb13b2fa7d624ca6af9 (patch)
tree287ff08214bd70bcd070a2bd904800675ced8167 /net/ndisc.c
parent1154e965d0bd16cf438afdaa4118e1455fd71a44 (diff)
parent440098c42e7369f4b5703a82723b2ce268180a1f (diff)
Merge branch '2022-12-22-assorted-important-fixes'
- Split up the aarch64 Azure CI job more, to avoid time limits, nuvoton network fix, SPL_OPTEE_IMAGE dependency fix, some fixes to the IPv6 code, PowerPC build flag fixes, silence pylibfdt version warning.
Diffstat (limited to 'net/ndisc.c')
-rw-r--r--net/ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ndisc.c b/net/ndisc.c
index 3c0eeeaea3..367dae7676 100644
--- a/net/ndisc.c
+++ b/net/ndisc.c
@@ -265,7 +265,7 @@ int ndisc_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len)
/* save address for later use */
if (!net_nd_packet_mac)
- memcpy(net_nd_packet_mac, neigh_eth_addr, 7);
+ net_nd_packet_mac = neigh_eth_addr;
/* modify header, and transmit it */
memcpy(((struct ethernet_hdr *)net_nd_tx_packet)->et_dest,