summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-12 12:31:16 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-12 12:31:16 +0200
commit4ee9acd587161df26332fc1e07027b1b527e8100 (patch)
treef21556927896002cb20375e55a671161eb5db2fd /netsniff-ng
parent93e7cdadf9ddc619c1936303302d4edd50496204 (diff)
stun: close socket before returning in error case
Do not leak the socket resource when bailing out in error case. Found by the coverty scanner. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
73, https://bugzilla.opensuse.org/show_bug.cgi?id=1017471, and https://github.com/lwfinger/rtlwifi_new/issues/203 for descriptions of the problems. This patch fixes all of those problems. Fixes: cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859") Signed-off-by: Jurij Smakov <jurij@wooyd.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> # 4.9+ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/sunrpc/xprtrdma/fmr_ops.c')