aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-09-17 11:46:21 +0000
committerGreg Kroah-Hartman <[email protected]>2021-09-27 15:38:49 +0000
commitbb8a4fcb2136508224c596a7e665bdba1d7c3c27 (patch)
tree6349a8c8cd733b11ef5281c2fb17220751f9c256 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentipack: ipoctal: fix missing allocation-failure check (diff)
downloadkernel-bb8a4fcb2136508224c596a7e665bdba1d7c3c27.tar.gz
kernel-bb8a4fcb2136508224c596a7e665bdba1d7c3c27.zip
ipack: ipoctal: fix module reference leak
A reference to the carrier module was taken on every open but was only released once when the final reference to the tty struct was dropped. Fix this by taking the module reference and initialising the tty driver data when installing the tty. Fixes: 82a82340bab6 ("ipoctal: get carrier driver to avoid rmmod") Cc: [email protected] # 3.18 Cc: Federico Vaga <[email protected]> Acked-by: Samuel Iglesias Gonsalvez <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions