Skip to content
Commit 7177a3b0 authored by Sowmini Varadhan's avatar Sowmini Varadhan Committed by David S. Miller
Browse files

net/vxlan: Fix kernel unaligned access in __vxlan_find_mac



__vxlan_find_mac invokes ether_addr_equal on the eth_addr field,
which triggers unaligned access messages, so rearrange vxlan_fdb
to avoid this in the most non-intrusive way.

Signed-off-by: default avatarSowmini Varadhan <sowmini.varadhan@oracle.com>
Reviewed-by: default avatarJiri Pirko <jiri@resnulli.us>
Reviewed-by: default avatarMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 685a015e
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