stephen hemminger d0d6683716 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>
2017-08-18 22:37:03 -07:00
..
2017-08-03 21:37:29 -07:00
2017-08-13 19:56:07 -07:00
2017-06-05 11:24:28 -04:00
2017-03-12 23:47:16 -07:00
2017-04-25 13:33:49 -04:00
2015-04-02 14:04:59 -04:00
2017-08-16 11:27:52 -07:00
2017-04-13 13:58:20 -04:00
2017-08-03 21:37:29 -07:00
2015-10-26 22:24:22 -07:00