]> Git Repo - linux.git/commit
net: qualcomm: rmnet: Fix rx_handler for non-linear skbs
authorLoic Poulain <[email protected]>
Thu, 4 Feb 2021 08:40:01 +0000 (09:40 +0100)
committerJakub Kicinski <[email protected]>
Sat, 6 Feb 2021 19:28:45 +0000 (11:28 -0800)
commitd698e6a00a6092381f2966ac5410ac2dbcce88bc
tree5dc7ea2db11a9c934780106f703f46072d7bd428
parenta64566a22b6a943105b01f47e8ae97779cab1417
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 <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Reviewed-by: Subash Abhinov Kasiviswanathan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
This page took 0.053434 seconds and 4 git commands to generate.