lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230511074023.5217e972@kernel.org>
Date:   Thu, 11 May 2023 07:40:23 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Georgi Valkov <gvalkov@....bg>
Cc:     Greg KH <gregkh@...uxfoundation.org>,
        Foster Snowhill <forst@....gy>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Jan Kiszka <jan.kiszka@...mens.com>
Subject: Re: net: usb: ipheth: add CDC NCM support

On Thu, 11 May 2023 12:47:56 +0300 Georgi Valkov wrote:
> Can you please review, and accept the following patch. I’ve been using it for one year.
> I added the author Foster Snowhill to this mail, as well as a link to his Github [1].
> If needed, we can ask him to add the tag Signed-off-by:
> 
> 
> From 257d843a7f90e4e519635f82fe5b73fba918ec33 Mon Sep 17 00:00:00 2001
> From: Foster Snowhill <Forst@...rs.noreply.github.com>
> Date: Fri, 22 Apr 2022 23:50:09 +0200
> Subject: [PATCH] net: usb: ipheth: add CDC NCM support (PoC)
> 
> Recent iOS releases support CDC NCM encapsulation on RX. This mode is
> the default on macOS and Windows.
> 
> When reconnecting a device from a macOS/Windows machine to a Linux
> machine, the device stays in NCM mode. Therefore to correctly support
> such a device, the driver has to either support the NCM mode too, or
> somehow put the device back into legacy mode.
> 
> To match the behaviour of the macOS/Windows driver, and since there
> are no documented control commands to revert to legacy mode, I chose
> to implement basic NCM support.
> 
> With this change, the device is attempted to be put into NCM mode by
> default, and falls back to legacy mode if said attempt failed.
> 
> Tested-by: Georgi Valkov <gvalkov@....bg>

Take a look at submitting patches, the best way to send a change is
with git send-mail. And make sure you CC the right lists
(./scripts/get_maintainer.pl)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ