Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97182
b: refs/heads/master
c: 4da5105
h: refs/heads/master
v: v3
  • Loading branch information
Kazunori MIYAZAWA authored and David S. Miller committed May 21, 2008
1 parent af39fba commit c6d14e3
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d8ac48d4cbae0cc59b7784399292fbda3e231be3
refs/heads/master: 4da5105687e0993a3bbdcffd89b2b94d9377faab
2 changes: 1 addition & 1 deletion trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ static struct xfrm_state * pfkey_msg2xfrm_state(struct sadb_msg *hdr,
x->sel.prefixlen_s = addr->sadb_address_prefixlen;
}

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

if (ext_hdrs[SADB_X_EXT_NAT_T_TYPE-1]) {
Expand Down

0 comments on commit c6d14e3

Please sign in to comment.