Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102867
b: refs/heads/master
c: 81b302a
h: refs/heads/master
i:
  102865: 96ac97f
  102863: 6666f1e
v: v3
  • Loading branch information
YOSHIFUJI Hideaki committed Jun 11, 2008
1 parent 9ed7864 commit e836e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 5f95ac9111f75aa240dc3bcabffc0f047f13cb64
refs/heads/master: 81b302a321a0d99ff172b8cb2a8de17bff2f9499
9 changes: 1 addition & 8 deletions trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,14 +767,7 @@ static struct sk_buff *__pfkey_xfrm_state2msg(struct xfrm_state *x,
}

/* identity & sensitivity */

if ((x->props.family == AF_INET &&
x->sel.saddr.a4 != x->props.saddr.a4)
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|| (x->props.family == AF_INET6 &&
memcmp (x->sel.saddr.a6, x->props.saddr.a6, sizeof (struct in6_addr)))
#endif
)
if (xfrm_addr_cmp(&x->sel.saddr, &x->props.saddr, x->props.family))
size += sizeof(struct sadb_address) + sockaddr_size;

if (add_keys) {
Expand Down

0 comments on commit e836e3b

Please sign in to comment.