<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux-compat/src/compat/skb_array/include/linux, branch master</title>
<subtitle>WireGuard kernel module backport for Linux 3.10 - 5.5</subtitle>
<id>https://git.zx2c4.com/wireguard-linux-compat/atom/src/compat/skb_array/include/linux?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux-compat/atom/src/compat/skb_array/include/linux?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux-compat/'/>
<updated>2022-03-02T22:49:51Z</updated>
<entry>
<title>queueing: use CFI-safe ptr_ring cleanup function</title>
<updated>2022-03-02T22:49:51Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2022-03-02T22:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux-compat/commit/?id=4eff63d292f714a67834bfbd7cbc4c0fa0b1dd52'/>
<id>urn:sha1:4eff63d292f714a67834bfbd7cbc4c0fa0b1dd52</id>
<content type='text'>
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 &lt;pageexec@freemail.hu&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
