lkml.org 
[lkml]   [2021]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] cifs: fix wrong release in sess_alloc_buffer() failed path
    tentatively merged into cifs-2.6.git for-next pending more testing

    On Tue, Aug 17, 2021 at 7:33 PM Paulo Alcantara <pc@cjr.nz> wrote:
    >
    > Ding Hui <dinghui@sangfor.com.cn> writes:
    >
    > > smb_buf is allocated by small_smb_init_no_tc(), and buf type is
    > > CIFS_SMALL_BUFFER, so we should use cifs_small_buf_release() to
    > > release it in failed path.
    > >
    > > Signed-off-by: Ding Hui <dinghui@sangfor.com.cn>
    > > ---
    > > fs/cifs/sess.c | 2 +-
    > > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>



    --
    Thanks,

    Steve

    \
     
     \ /
      Last update: 2021-08-18 04:46    [W:4.877 / U:0.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site