commit | 166ee5b87866de07a3e56c1b757f2b5cabba72a5 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Aug 24 09:39:02 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 25 16:44:20 2016 -0700 |
tree | 4914730f1ac8cf84c32c36fb10a3c3b67778639c | |
parent | a5de125dd46c851fc962806135953c1bd0a0f0df [diff] |
qdisc: fix a module refcount leak in qdisc_create_dflt() 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 <edumazet@google.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>