aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCorey Minyard <[email protected]>2018-02-28 14:09:49 +0000
committerCorey Minyard <[email protected]>2018-03-07 01:47:17 +0000
commitcc095f0ac1f7c200e51a5c2a78a43c9f42049dbb (patch)
treecea28774af6227161791960af5b705b0999d9c88 /net/unix/af_unix.c
parentipmi: Add or fix SPDX-License-Identifier in all files (diff)
downloadkernel-cc095f0ac1f7c200e51a5c2a78a43c9f42049dbb.tar.gz
kernel-cc095f0ac1f7c200e51a5c2a78a43c9f42049dbb.zip
ipmi: Fix some error cleanup issues
device_remove_group() was called on any cleanup, even if the device attrs had not been added yet. That can occur in certain error scenarios, so add a flag to know if it has been added. Also make sure we remove the dev if we added it ourselves. Signed-off-by: Corey Minyard <[email protected]> Cc: [email protected] # 4.15 Cc: Laura Abbott <[email protected]> Tested-by: Bill Perkins <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions