aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/skb_array/include/linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* queueing: use CFI-safe ptr_ring cleanup functionJason A. Donenfeld2022-03-021-0/+11
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>