summaryrefslogtreecommitdiffstats
path: root/Documentation/debugging-modules.txt
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-10-14 17:51:55 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-10-18 14:03:54 -0400
commit1dfba3060fe7ee03ccec25a91d35085142dfc295 (patch)
treec27da4ef59aeaa75b1d39c46af0aeed4f7ba7147 /Documentation/debugging-modules.txt
parente07f01e4c7d583adb1ec25e63a52db5fc10a94d3 (diff)
downloadtalos-op-linux-1dfba3060fe7ee03ccec25a91d35085142dfc295.tar.gz
talos-op-linux-1dfba3060fe7ee03ccec25a91d35085142dfc295.zip
libertas: move firmware lifetime handling to firmware.c
Previously, each bus type was responsible for freeing the firmware structure, but some did that badly. Move responsibility for freeing firmware into firmware.c so that it's done once and correctly, instead of happening in multiple places in bus-specific code. This fixes a use-after-free bug found by Dr. H. Nikolaus Schaller where the SDIO code forgot to NULL priv->helper_fw after freeing it. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud