summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/socket.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-03-02 23:48:40 +0100
committerBruno Martins <bgcngm@gmail.com>2023-11-06 09:28:24 +0000
commitc49779c5de4d3c40d2cb410c4c1640cd5167cd85 (patch)
tree5150660fb549642978de41ab1f06267b4f017dd3 /drivers/net/wireguard/socket.c
parent894629feeee2de09e6562a91b71decd99d6223de (diff)
queueing: use CFI-safe ptr_ring cleanup function
We make too nuanced use of ptr_ring to entirely move to the skb_array wrappers, but we at least should avoid the naughty function pointer cast when cleaning up skbs. Otherwise RAP/CFI will honk at us. This patch uses the __skb_array_destroy_skb wrapper for the cleanup, rather than directly providing kfree_skb, which is what other drivers in the same situation do too. Reported-by: PaX Team <pageexec@freemail.hu> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Change-Id: Ib9ee487345484769aab6b173738c77dcac0f6f57
Diffstat (limited to 'drivers/net/wireguard/socket.c')
0 files changed, 0 insertions, 0 deletions