aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorSteve French <[email protected]>2014-02-07 20:45:12 -0600
committerSteve French <[email protected]>2014-02-07 20:47:00 -0600
commit4a5c80d7b5615be8098f9d5da97d166afc318abc (patch)
treeff3e40a816442722056805cc0cc1844051a30988 /net/lapb/lapb_subr.c
parent26c8f0d601f5d4c0d9f4bc8c5151539aae5dc26a (diff)
[CIFS] clean up page array when uncached write send fails
In the event that a send fails in an uncached write, or we end up needing to reissue it (-EAGAIN case), we'll kfree the wdata but the pages currently leak. Fix this by adding a new kref release routine for uncached writedata that releases the pages, and have the uncached codepaths use that. [original patch by Jeff modified to fix minor formatting problems] Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions