Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2237
b: refs/heads/master
c: 7d6dfe1
h: refs/heads/master
i:
  2235: c245d08
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 19, 2005
1 parent 9ac6aa9 commit 5bc17d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: f60f6b8f70c756fc786d68f02ec17a1e84db645f
refs/heads/master: 7d6dfe1f5bc4c56e0c31173014a099ec3fa35907
4 changes: 2 additions & 2 deletions trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ static int pfkey_add(struct sock *sk, struct sk_buff *skb, struct sadb_msg *hdr,
if (err < 0) {
x->km.state = XFRM_STATE_DEAD;
xfrm_state_put(x);
return err;
goto out;
}

if (hdr->sadb_msg_type == SADB_ADD)
Expand All @@ -1343,8 +1343,8 @@ static int pfkey_add(struct sock *sk, struct sk_buff *skb, struct sadb_msg *hdr,
c.seq = hdr->sadb_msg_seq;
c.pid = hdr->sadb_msg_pid;
km_state_notify(x, &c);
out:
xfrm_state_put(x);

return err;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,16 +296,16 @@ static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, void **xfrma)
if (err < 0) {
x->km.state = XFRM_STATE_DEAD;
xfrm_state_put(x);
return err;
goto out;
}

c.seq = nlh->nlmsg_seq;
c.pid = nlh->nlmsg_pid;
c.event = nlh->nlmsg_type;

km_state_notify(x, &c);
out:
xfrm_state_put(x);

return err;
}

Expand Down

0 comments on commit 5bc17d7

Please sign in to comment.