From patchwork Fri Feb 14 16:12:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 3653011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E6D3CBF13A for ; Fri, 14 Feb 2014 16:13:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78D72201BF for ; Fri, 14 Feb 2014 16:13:45 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86C4D2017E for ; Fri, 14 Feb 2014 16:13:44 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WELO4-0001Ey-S7; Fri, 14 Feb 2014 16:13:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WELO2-0005bY-Cx; Fri, 14 Feb 2014 16:13:10 +0000 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WELO0-0005aD-9a for linux-arm-kernel@lists.infradead.org; Fri, 14 Feb 2014 16:13:08 +0000 Received: by mail-ea0-f177.google.com with SMTP id m10so3237854eaj.22 for ; Fri, 14 Feb 2014 08:12:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=enpVM95c4RkmS+FrrlUnMk9vUh1w76Z4QdWLjHeHLEs=; b=LEAG+hq3JmqhdbPkXwNP+PU63XJw5M2PCZHhywk4JwFhc5lMzXZ2lpv9OtQbxUlNKq HGPor2IdoMs3r+mNlR5JuZkQngEEiHmBQNlsvW2cQTvcpVOMzEK5qc5hr4dqWnOtVgzy 7YPhwOw0Vjme4V3njep/i2+tyy3Uz6058u+BesCOPAooiOylHoHB7J1CekflrsnGwAxv OWoRry58czArdXZ6RUVaY/nyy1XdWGTy0EUxfRZye42Qy5272/uLRqlgiL5686kUl28H DcSoFC5t8cLOIcrXPEefzGEyk9f3W7w64n3TGu2BUa6h76l4hIWUrDQQnq1qnXM3J3xC AtbA== X-Received: by 10.14.107.9 with SMTP id n9mr10048148eeg.21.1392394366534; Fri, 14 Feb 2014 08:12:46 -0800 (PST) Received: from [192.168.1.10] ([46.249.74.23]) by mx.google.com with ESMTPSA id f45sm21359849eeg.5.2014.02.14.08.12.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Feb 2014 08:12:46 -0800 (PST) Message-ID: <52FE407C.3080002@gmail.com> Date: Fri, 14 Feb 2014 18:12:44 +0200 From: Ivaylo Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Will Deacon Subject: Re: [BISECTED] ssh - Received disconnect from x.x.x.x: 2: Bad packet length 3149594624 References: <52FD08D1.3030405@gmail.com> <20140213182105.GN13576@mudshark.cambridge.arm.com> <52FD1243.9040706@gmail.com> <20140213192909.GO13576@mudshark.cambridge.arm.com> In-Reply-To: <20140213192909.GO13576@mudshark.cambridge.arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140214_111308_498702_38E8E3C7 X-CRM114-Status: GOOD ( 10.72 ) X-Spam-Score: 0.2 (/) Cc: "linux@arm.linux.org.uk" , LKML , Sebastian Reichel , Pavel Machek , =?ISO-8859-1?Q?Pali_Roh=E1r?= , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, GAPPY_SUBJECT, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 13.02.2014 21:29, Will Deacon wrote: > > Can you try hacking crypto/memneq.c so that it doesn't use > CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS please? That would at least point the > finger at net/mac80211/rx.c or similar. > > Cheers, > > Will > Well, I am lazy so I hacked net/mac80211/rx.c first: index c24ca0d..6839c77 100644 and that seems to fix the problem. I am not sure whom I should forward the problem. Thanks, Ivo --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1963,7 +1963,7 @@ ieee80211_deliver_skb(struct ieee80211_rx_data *rx) } } -#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS +//#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS if (skb) { /* 'align' will only take the values 0 or 2 here since all * frames are required to be aligned to 2-byte boundaries @@ -1987,7 +1987,7 @@ ieee80211_deliver_skb(struct ieee80211_rx_data *rx) } } } -#endif +//#endif if (skb) { /* deliver to local stack */