aboutsummaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-30 15:58:49 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-13 12:08:12 +0900
commit51dcd49f16772e41318fee7ad5b477661f0c84df (patch)
tree113bd9ce4644e56ba43c53519f37b8c0e1b12a42 /net/ethernet
parent5da1ca75f78746e35357679c184d2107d880e9ec (diff)
NTB: Correct debugfs to work with more than 1 NTB Device
commit 1517a3f21a1dd321f16bcf44204bddff9d21abd0 upstream. Debugfs was setup in NTB to only have a single debugfs directory. This resulted in the leaking of debugfs directories and files when multiple NTB devices were present, due to each device stomping on the variables containing the previous device's values (thus preventing them from being freed on cleanup). Correct this by creating a secondary directory of the PCI BDF for each device present, and nesting the previously existing information in those directories. Signed-off-by: Jon Mason <jon.mason@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions