Re: [PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-25 Thread David Miller
From: Eric Dumazet Date: Wed, 24 Aug 2016 09:39:02 -0700 > From: Eric Dumazet > > Should qdisc_alloc() fail, we must release the module refcount > we got right before. > > Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline") > Signed-off-by: Eric Dumazet Applied.

Re: [PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-25 Thread Eric Dumazet
On Thu, 2016-08-25 at 21:26 +0800, Wei Yongjun wrote: > On 08/25/2016 12:39 AM, Eric Dumazet wrote: > > From: Eric Dumazet > > > > Should qdisc_alloc() fail, we must release the module refcount > > we got right before. > > > > Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline")

Re: [PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-25 Thread Wei Yongjun
On 08/25/2016 12:39 AM, Eric Dumazet wrote: > From: Eric Dumazet > > Should qdisc_alloc() fail, we must release the module refcount > we got right before. > > Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline") > Signed-off-by: Eric Dumazet > --- > net/sched/sch_generic.c |

Re: [PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-24 Thread John Fastabend
On 16-08-24 09:39 AM, Eric Dumazet wrote: > From: Eric Dumazet > > Should qdisc_alloc() fail, we must release the module refcount > we got right before. > > Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline") > Signed-off-by: Eric Dumazet > --- > net/sched/sch_generic.c |

Re: [PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-24 Thread John Fastabend
On 16-08-24 09:39 AM, Eric Dumazet wrote: > From: Eric Dumazet > > Should qdisc_alloc() fail, we must release the module refcount > we got right before. > > Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline") > Signed-off-by: Eric Dumazet > --- > net/sched/sch_generic.c |

[PATCH net] qdisc: fix a module refcount leak in qdisc_create_dflt()

2016-08-24 Thread Eric Dumazet
From: Eric Dumazet Should qdisc_alloc() fail, we must release the module refcount we got right before. Fixes: 6da7c8fcbcbd ("qdisc: allow setting default queuing discipline") Signed-off-by: Eric Dumazet --- net/sched/sch_generic.c |9 + 1 file changed, 5 insertions(+), 4 deletions(