aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-08-18 13:46:19 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-18 22:37:03 -0700
commitd0d6683716791b2a2761a1bb025c613eb73da6c3 (patch)
tree2bebd60c2b10c02fc44f5ea24f667f4b60dfe35f /include/linux/netdevice.h
parentMerge branch 'amd-xgbe-next' (diff)
downloadlinux-dev-d0d6683716791b2a2761a1bb025c613eb73da6c3.tar.xz
linux-dev-d0d6683716791b2a2761a1bb025c613eb73da6c3.zip
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>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions