From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH] IB/core: Fix unaligned accesses Date: Wed, 29 Apr 2015 15:24:19 -0600 Message-ID: <55414C03.40902@oracle.com> References: <1430340983-12538-1-git-send-email-david.ahern@oracle.com> <20150429211822.GA25951@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150429211822.GA25951-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On 4/29/15 3:18 PM, Jason Gunthorpe wrote: > On Wed, Apr 29, 2015 at 04:56:23PM -0400, David Ahern wrote: > >> static void cm_mask_copy(u8 *dst, u8 *src, u8 *mask) >> { > > Do you know what call site is unaligned? A quick audit suggests that > fixing a few possibly troublesome callers to be guaranteed 32 bit > aligned should be fairly straight foward. I believe this case is cm_find_listen() -> cm_compare_private_data() -> cm_mask_copy() -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html