aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2017-08-14 18:04:24 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-14 22:17:05 -0700
commit539a06baedd06127389b254f6b9f016ca072da13 (patch)
tree0ad4648c157cf03a6f00c4a55c159a1a766eb972 /net/nfc
parentMerge branch 'Add-new-PCI_DEV_FLAGS_NO_RELAXED_ORDERING-flag' (diff)
downloadlinux-dev-539a06baedd06127389b254f6b9f016ca072da13.tar.xz
linux-dev-539a06baedd06127389b254f6b9f016ca072da13.zip
tcp: ulp: avoid module refcnt leak in tcp_set_ulp
__tcp_ulp_find_autoload returns tcp_ulp_ops after taking a reference on the module. Then, if ->init fails, tcp_set_ulp propagates the error but nothing releases that reference. Fixes: 734942cc4ea6 ("tcp: ULP infrastructure") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions