commit | d0d6683716791b2a2761a1bb025c613eb73da6c3 | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Fri Aug 18 13:46:19 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 18 22:37:03 2017 -0700 |
tree | 2bebd60c2b10c02fc44f5ea24f667f4b60dfe35f | |
parent | 01d300c577c72229b0a3b09e194cae52b219d5b3 [diff] |
net: don't decrement kobj reference count on init failure If kobject_init_and_add failed, then the failure path would decrement the reference count of the queue kobject whose reference count was already zero. Fixes: 114cf5802165 ("bql: Byte queue limits") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>