Home
last modified time | relevance | path

Searched hist:"753 ba09aa3ea14b593b168d3ef541da00f4659f5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.cdiff 753ba09aa3ea14b593b168d3ef541da00f4659f5 Sat Jun 19 08:52:22 CDT 2021 Dan Carpenter <dan.carpenter@oracle.com> net: qualcomm: rmnet: fix two pointer math bugs

We recently changed these two pointers from void pointers to struct
pointers and it breaks the pointer math so now the "txphdr" points
beyond the end of the buffer.

Fixes: 56a967c4f7e5 ("net: qualcomm: rmnet: Remove some unneeded casts")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>