Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322454
b: refs/heads/master
c: 48f125c
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 31, 2012
1 parent 00943a4 commit 8573ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa026e223df2514b271b20f839ab05d7f21181b9
refs/heads/master: 48f125ce1cc3ff275f9587b5bf56bf0f90766c7d
6 changes: 3 additions & 3 deletions trunk/net/ipv6/esp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ static int esp6_output(struct xfrm_state *x, struct sk_buff *skb)
struct esp_data *esp = x->data;

/* skb is pure payload to encrypt */
err = -ENOMEM;

aead = esp->aead;
alen = crypto_aead_authsize(aead);

Expand Down Expand Up @@ -203,8 +201,10 @@ static int esp6_output(struct xfrm_state *x, struct sk_buff *skb)
}

tmp = esp_alloc_tmp(aead, nfrags + sglists, seqhilen);
if (!tmp)
if (!tmp) {
err = -ENOMEM;
goto error;
}

seqhi = esp_tmp_seqhi(tmp);
iv = esp_tmp_iv(aead, tmp, seqhilen);
Expand Down

0 comments on commit 8573ab0

Please sign in to comment.