diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-05-30 12:57:23 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-02 15:36:46 -0400 |
commit | 4e7aba73f9f6e9fe6d3fa10d3fd63cd4882ba3d0 (patch) | |
tree | 89adec0555b294e0eed689b769cbc09e396af82a /include | |
parent | 0ab823db869f1c9454c5b031a9b8f8812ccd0aa7 (diff) | |
download | op-kernel-dev-4e7aba73f9f6e9fe6d3fa10d3fd63cd4882ba3d0.zip op-kernel-dev-4e7aba73f9f6e9fe6d3fa10d3fd63cd4882ba3d0.tar.gz |
[SCSI] iscsi_tcp: fix fd leak
This patch should fix the file descriptor leak problem. A quick look
through the kernel shows that users of sockfd_lookup use sockfd_put to
release their handle. We were using sock_release which from the comments
and code look like it does not release the get() on the file from the
lookup.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions