Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbbGUHM7 (ORCPT ); Tue, 21 Jul 2015 03:12:59 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:56000 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751431AbbGUHM5 (ORCPT ); Tue, 21 Jul 2015 03:12:57 -0400 Date: Tue, 21 Jul 2015 00:12:56 -0700 (PDT) Message-Id: <20150721.001256.2277736594553600193.davem@davemloft.net> To: sowmini.varadhan@oracle.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, therbert@google.com, marcelo.leitner@gmail.com, nicolas.dichtel@6wind.com, tgraf@suug.ch, jiri@resnulli.us, jbenc@redhat.com, azhou@nicira.com, jesse@nicira.com Subject: Re: [PATCH v2 net-next] net/vxlan: Fix kernel unaligned access in __vxlan_find_mac From: David Miller In-Reply-To: <20150720075450.GB20398@oracle.com> References: <20150720075450.GB20398@oracle.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 21 Jul 2015 00:12:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 679 Lines: 18 From: Sowmini Varadhan Date: Mon, 20 Jul 2015 09:54:50 +0200 > > __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 > --- > v2: Alexander Duyck comments: place eth_addr[] to be 64b aligned Applied, thanks. -- 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/