Thread (8 messages) 8 messages, 3 authors, 2021-08-13

Re: [PATCH] af_unix: fix holding spinlock in oob handling

flat view

From: Shoaib Rao <hidden>
Date: 2021-08-12 17:38:00

On 8/12/21 12:53 AM, Eric Dumazet wrote:
quoted hunk ↗ jump to hunk
         if (ousk->oob_skb)
-               kfree_skb(ousk->oob_skb);
+               consume_skb(ousk->oob_skb);
Should I be using consume_skb(), as the skb is not being consumed, the ref count is decremented and if zero skb will be freed.

Shoaib
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help