Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323091
b: refs/heads/master
c: 1f86840
h: refs/heads/master
i:
  323089: d174887
  323087: cf0a4c0
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Sep 20, 2012
1 parent 31d0690 commit fce2211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b789836f434c87168eab067cfbed1ec4783dffd
refs/heads/master: 1f86840f897717f86d523a13e99a447e6a5d2fa5
1 change: 1 addition & 0 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,7 @@ static int copy_to_user_tmpl(struct xfrm_policy *xp, struct sk_buff *skb)
struct xfrm_user_tmpl *up = &vec[i];
struct xfrm_tmpl *kp = &xp->xfrm_vec[i];

memset(up, 0, sizeof(*up));
memcpy(&up->id, &kp->id, sizeof(up->id));
up->family = kp->encap_family;
memcpy(&up->saddr, &kp->saddr, sizeof(up->saddr));
Expand Down

0 comments on commit fce2211

Please sign in to comment.