linux-stable/drivers/net/wwan
M Chetan Kumar c34ca4f32c net: wwan: iosm: fix incorrect skb length
skb passed to network layer contains incorrect length.

In mux aggregation protocol, the datagram block received
from device contains block signature, packet & datagram
header. The right skb len to be calculated by subracting
datagram pad len from datagram length.

Whereas in mux lite protocol, the skb contains single
datagram so skb len is calculated by subtracting the
packet offset from datagram header.

Fixes: 1f52d7b622 ("net: wwan: iosm: Enable M.2 7360 WWAN card support")
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-28 11:31:59 +00:00
..
iosm net: wwan: iosm: fix incorrect skb length 2022-11-28 11:31:59 +00:00
t7xx net: wwan: t7xx: Fix the ACPI memory leak 2022-11-24 08:54:59 +01:00
Kconfig net: wwan: iosm: fix driver not working with INTEL_IOMMU disabled 2022-11-09 14:00:25 +00:00
Makefile net: wwan: t7xx: Add core components 2022-05-09 10:51:59 +01:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port 2022-09-20 16:07:12 -07:00
mhi_wwan_mbim.c net: wwan: mhi: fix memory leak in mhi_mbim_dellink 2022-11-07 09:38:04 +00:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-03-22 09:36:46 +01:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c termios: get rid of non-UAPI asm/termios.h 2022-09-09 10:44:35 +02:00
wwan_hwsim.c wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new() 2022-10-19 17:25:10 -07:00