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-04-12 22:02:40 +02:00
2017-08-09 22:43:50 -07:00
2017-08-01 15:26:19 -07:00
2017-07-21 16:26:01 -07:00
2017-08-03 09:13:51 -07:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00
2017-08-16 11:27:52 -07:00