Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751896Ab0HUKyI (ORCPT ); Sat, 21 Aug 2010 06:54:08 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:37732 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751Ab0HUKyH (ORCPT ); Sat, 21 Aug 2010 06:54:07 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DNXL866AmEjMNX50QglqJ4pw2x0e2uqIyHo/ta+PBTWOEU+87XR4spfo7yBHA4+oov iQAy8uQRNXcMoSCR2I9Rj7M9WvBJ6Bgj8BgSbHwOhmmBE0mQQ3CWexwl+n6Q4G/4BDQU 7vXuUX13wxPNEzE5O43arBwRGEBKRlKrFa8gg= MIME-Version: 1.0 Date: Sat, 21 Aug 2010 14:54:06 +0400 Message-ID: Subject: [PATCH] USB: Fix kernel oops with g_ether and Windows From: Maxim Osipov To: David Brownell , Greg Kroah-Hartman , Maxim Osipov , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary=00504502b9acf8e40d048e533ba2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2347 Lines: 46 --00504502b9acf8e40d048e533ba2 Content-Type: text/plain; charset=UTF-8 Hello, Please find attached patch for https://bugzilla.kernel.org/show_bug.cgi?id=16023 problem. Kind regards, Maxim --00504502b9acf8e40d048e533ba2 Content-Type: text/x-patch; charset=US-ASCII; name="0001-USB-Fix-kernel-oops-with-g_ether-and-Windows.patch" Content-Disposition: attachment; filename="0001-USB-Fix-kernel-oops-with-g_ether-and-Windows.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gd4cpqr60 RnJvbSA0MzU2OGRlYzRmMzg3ZGE0NTYyZDViYzgxNTU3YzY0MmE0NjhiNjg1IE1vbiBTZXAgM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zIFtjb25m aWdOcl0udmVuZG9yRGVzY3IsIGxlbmd0aCk7CisJCWlmICggcm5kaXNfcGVyX2Rldl9wYXJhbXMg W2NvbmZpZ05yXS52ZW5kb3JEZXNjciApIHsKKwkJCWxlbmd0aCA9IHN0cmxlbiAocm5kaXNfcGVy X2Rldl9wYXJhbXMgW2NvbmZpZ05yXS52ZW5kb3JEZXNjcik7CisJCQltZW1jcHkgKG91dGJ1ZiwK KwkJCQlybmRpc19wZXJfZGV2X3BhcmFtcyBbY29uZmlnTnJdLnZlbmRvckRlc2NyLCBsZW5ndGgp OworCQl9IGVsc2UgeworCQkJb3V0YnVmWzBdID0gMDsKKwkJfQogCQlyZXR2YWwgPSAwOwogCQli cmVhazsKIAotLSAKMS43LjEKCg== --00504502b9acf8e40d048e533ba2-- -- 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/