Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/net/sunrpc/auth_gss/auth_gss.c

    r30589 r31885  
    542542        gss_msg = gss_add_msg(gss_new);
    543543        if (gss_msg == gss_new) {
    544                 int res = rpc_queue_upcall(gss_new->pipe, &gss_new->msg);
     544                int res;
     545                atomic_inc(&gss_msg->count);
     546                res = rpc_queue_upcall(gss_new->pipe, &gss_new->msg);
    545547                if (res) {
    546548                        gss_unhash_msg(gss_new);
     549                        atomic_dec(&gss_msg->count);
     550                        gss_release_msg(gss_new);
    547551                        gss_msg = ERR_PTR(res);
    548552                }
     
    837841                gss_release_msg(gss_msg);
    838842        }
     843        gss_release_msg(gss_msg);
    839844}
    840845
Note: See TracChangeset for help on using the changeset viewer.