Thread (3 messages) flat view 3 messages, 2 authors, 2017-03-24

Re: [patch net-next] net: sched: atm: destroy main filter chain

From: Cong Wang <hidden>
Date: 2017-03-24 17:47:32

On Fri, Mar 24, 2017 at 6:39 AM, Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

In atm_tc_destroy, the flow qdisc filter chains are destroyed. However
the main chain is not. So fix this memory and reference leak.
Are you sure? 'link' is on the 'flows' already according
to this comment:

struct atm_qdisc_data {
        struct atm_flow_data    link;           /* unclassified skbs go here */
        struct list_head        flows;          /* NB: "link" is also on this
                                                   list */
        struct tasklet_struct   task;           /* dequeue tasklet */
};
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help