Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41955
b: refs/heads/master
c: 76b3f05
h: refs/heads/master
i:
  41953: dcc437c
  41951: 81d7c51
v: v3
  • Loading branch information
Miika Komu authored and David S. Miller committed Dec 3, 2006
1 parent b9e9055 commit 99f9b33
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 08dd1a506bbc4528db60dfdfff61423a1608ed3f
refs/heads/master: 76b3f055f38954c67dab13844eb92203580038f8
2 changes: 2 additions & 0 deletions trunk/include/net/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ struct xfrm_tmpl
/* Source address of tunnel. Ignored, if it is not a tunnel. */
xfrm_address_t saddr;

unsigned short encap_family;

__u32 reqid;

/* Mode: transport, tunnel etc. */
Expand Down
1 change: 1 addition & 0 deletions trunk/net/xfrm/xfrm_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,7 @@ xfrm_tmpl_resolve_one(struct xfrm_policy *policy, struct flowi *fl,
if (tmpl->mode == XFRM_MODE_TUNNEL) {
remote = &tmpl->id.daddr;
local = &tmpl->saddr;
family = tmpl->encap_family;
if (xfrm_addr_any(local, family)) {
error = xfrm_get_saddr(&tmp, remote, family);
if (error)
Expand Down

0 comments on commit 99f9b33

Please sign in to comment.