Re: [PATCH net-next v2 2/2] net: qualcomm: rmnet: Fix rx_handler for non-linear skbs

2021-02-02 Thread subashab
On 2021-02-02 09:16, Loic Poulain wrote: 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.

Re: [PATCH net-next v2 2/2] net: qualcomm: rmnet: Fix rx_handler for non-linear skbs

2021-02-02 Thread Willem de Bruijn
On Tue, Feb 2, 2021 at 11:08 AM Loic Poulain wrote: > > 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 linearizati

[PATCH net-next v2 2/2] net: qualcomm: rmnet: Fix rx_handler for non-linear skbs

2021-02-02 Thread Loic Poulain
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 --- v2: Add