Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1188209

Re: [PATCH v2 net-next] net/vxlan: Fix kernel unaligned access in __vxlan_find_mac

From Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 net-next] net/vxlan: Fix kernel unaligned access in __vxlan_find_mac
Date 2015-07-20 16:10 +0200
Message-ID <pOjVw-3qK-17@gated-at.bofh.it> (permalink)
References <pOe9s-3nL-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 20, 2015 at 09:54:50AM +0200, Sowmini Varadhan wrote:
> 
> __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: Sowmini Varadhan <sowmini.varadhan@oracle.com>

Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 net-next] net/vxlan: Fix kernel unaligned access in  __vxlan_find_mac Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> - 2015-07-20 16:10 +0200

csiph-web