]> git.dujemihanovic.xyz Git - linux.git/commit
net: usb: qmi_wwan: fix memory leak for not ip packets
authorDaniele Palmas <dnlplm@gmail.com>
Thu, 1 Aug 2024 13:55:12 +0000 (15:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2024 10:11:31 +0000 (11:11 +0100)
commit7ab107544b777c3bd7feb9fe447367d8edd5b202
treec63253f309354f85186618b67806497dbcfb0876
parent268762d0bbe778952ebda77a9ae8b8b3b584ae61
net: usb: qmi_wwan: fix memory leak for not ip packets

Free the unused skb when not ip packets arrive.

Fixes: c6adf77953bc ("net: usb: qmi_wwan: add qmap mux protocol support")
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c