kernel: backport ipeth CDC NCM support
authorGeorgi Valkov <gvalkov@gmail.com>
Fri, 19 Apr 2024 07:19:00 +0000 (10:19 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 21 Apr 2024 20:55:37 +0000 (22:55 +0200)
commit2b6b6e2f3ce090b7ef5c4401c8366ac1ebc7f9b0
tree3997e55d7460be34eac378d72238a005affd6fbd
parent9b33b74ef71225442361d5192d3a727be212c3cd
kernel: backport ipeth CDC NCM support

Fixes no communication with tethered iOS devices in CDC NCM mode.
Freshly booted iOS devices start in legacy mode, but are put into
NCM mode by the official Apple driver.

[1] https://github.com/torvalds/linux/commit/a2d274c62e44b1995c170595db3865c6fe701226

Fixes: #12566
Tested-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: Foster Snowhill <forst@pen.gy>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
[ better reference fixed issue ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 680f8738d02a1876ae4cd11aacf9cd56e520fadf)
target/linux/generic/backport-5.15/796-v6.5-01-usbnet-ipheth-fix-risk-of-NULL-pointer-deallocation.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/796-v6.5-02-usbnet-ipheth-transmit-URBs-without-trailing-padding.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/796-v6.5-03-usbnet-ipheth-add-CDC-NCM-support.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/796-v6.5-04-usbnet-ipheth-update-Kconfig-description.patch [new file with mode: 0644]