Thread (5 messages) flat view 5 messages, 3 authors, 2017-09-21

Re: [Patch net] net_sched: remove cls_flower idr on failure

From: Cong Wang <hidden>
Date: 2017-09-21 18:50:53

On Thu, Sep 21, 2017 at 11:47 AM, Cong Wang [off-list ref] wrote:
On Wed, Sep 20, 2017 at 9:18 AM, Cong Wang [off-list ref] wrote:
quoted
+errout_idr:
+       if (fnew->handle)
+               idr_remove_ext(&head->handle_idr, fnew->handle);
Hmm, I should check fold instead of fnew->handle here.
I will update this patch.
Never mind, it should be the same logic. If fold is non-NULL,
then fnew->handle == 0.

It can be applied as it is.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help