diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-02-04 09:40:01 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 20:28:45 +0100 |
commit | d698e6a00a6092381f2966ac5410ac2dbcce88bc (patch) | |
tree | 5dc7ea2db11a9c934780106f703f46072d7bd428 /drivers/net/mhi_net.c | |
parent | net: sched: Return the correct errno code (diff) | |
download | linux-d698e6a00a6092381f2966ac5410ac2dbcce88bc.tar.xz linux-d698e6a00a6092381f2966ac5410ac2dbcce88bc.zip |
net: qualcomm: rmnet: Fix rx_handler for non-linear skbs
There is no guarantee that rmnet rx_handler is only fed with linear
skbs, but current rmnet implementation does not check that, leading
to crash in case of non linear skbs processed as linear ones.
Fix that by ensuring skb linearization before processing.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Link: https://lore.kernel.org/r/1612428002-12333-2-git-send-email-loic.poulain@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/mhi_net.c')
0 files changed, 0 insertions, 0 deletions