aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2020-02-11 10:42:47 -0700
committerVinod Koul <[email protected]>2020-02-13 20:11:00 +0530
commit61b5865d56bbb09dd5887b197dd324d1d4333d47 (patch)
treedc16bfd048476320562a3776dfea764e094c860b /scripts/bpf_helpers_doc.py
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff)
dmaengine: idxd: fix runaway module ref count on device driver bind
idxd_config_bus_probe() calls try_module_get() but never calls module_put() when it fails. Thus with every failed attempt, the ref count goes up. Add module_put() in failure paths. Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver") Reported-by: Jerry Chen <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/158144296730.41381.12134210685456322434.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions