Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63613
b: refs/heads/master
c: 4a4b627
h: refs/heads/master
i:
  63611: 2c5943a
v: v3
  • Loading branch information
Joy Latten authored and David S. Miller committed Aug 3, 2007
1 parent 4851f13 commit 053c464
Show file tree
Hide file tree
Showing 2 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: 3516ffb0fef710749daf288c0fe146503e0cf9d4
refs/heads/master: 4a4b6271a8df417e328aed4c8a7e04e0b282207e
3 changes: 3 additions & 0 deletions trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,9 @@ static struct xfrm_state * pfkey_msg2xfrm_state(struct sadb_msg *hdr,
x->sel.prefixlen_s = addr->sadb_address_prefixlen;
}

if (!x->sel.family)
x->sel.family = x->props.family;

if (ext_hdrs[SADB_X_EXT_NAT_T_TYPE-1]) {
struct sadb_x_nat_t_type* n_type;
struct xfrm_encap_tmpl *natt;
Expand Down

0 comments on commit 053c464

Please sign in to comment.