aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index f7a7f8380e38..50346a6fa17d 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -1273,9 +1273,8 @@ alloc_enc_pages(struct rpc_rqst *rqstp)
1273 rqstp->rq_release_snd_buf = priv_release_snd_buf; 1273 rqstp->rq_release_snd_buf = priv_release_snd_buf;
1274 return 0; 1274 return 0;
1275out_free: 1275out_free:
1276 for (i--; i >= 0; i--) { 1276 rqstp->rq_enc_pages_num = i;
1277 __free_page(rqstp->rq_enc_pages[i]); 1277 priv_release_snd_buf(rqstp);
1278 }
1279out: 1278out:
1280 return -EAGAIN; 1279 return -EAGAIN;
1281} 1280}