Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322455
b: refs/heads/master
c: 599901c
h: refs/heads/master
i:
  322453: 00943a4
  322451: 9960214
  322447: e0bd845
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 31, 2012
1 parent 8573ab0 commit a566cc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 48f125ce1cc3ff275f9587b5bf56bf0f90766c7d
refs/heads/master: 599901c3e4204e9d9c5a24df5402cd91617a2a26
4 changes: 3 additions & 1 deletion trunk/net/xfrm/xfrm_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1994,8 +1994,10 @@ int __xfrm_init_state(struct xfrm_state *x, bool init_replay)
goto error;

x->outer_mode = xfrm_get_mode(x->props.mode, family);
if (x->outer_mode == NULL)
if (x->outer_mode == NULL) {
err = -EPROTONOSUPPORT;
goto error;
}

if (init_replay) {
err = xfrm_init_replay(x);
Expand Down

0 comments on commit a566cc5

Please sign in to comment.