diff options
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r-- | net/batman-adv/network-coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index f1b604d88dc3..801ece699d7f 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c | |||
@@ -1636,7 +1636,7 @@ batadv_nc_skb_decode_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, | |||
1636 | 1636 | ||
1637 | /* Reconstruct original mac header */ | 1637 | /* Reconstruct original mac header */ |
1638 | ethhdr = eth_hdr(skb); | 1638 | ethhdr = eth_hdr(skb); |
1639 | memcpy(ethhdr, ðhdr_tmp, sizeof(*ethhdr)); | 1639 | *ethhdr = ethhdr_tmp; |
1640 | 1640 | ||
1641 | /* Select the correct unicast header information based on the location | 1641 | /* Select the correct unicast header information based on the location |
1642 | * of our mac address in the coded_packet header | 1642 | * of our mac address in the coded_packet header |