Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156881
b: refs/heads/master
c: b79a794
h: refs/heads/master
i:
  156879: 231a184
v: v3
  • Loading branch information
Jussi Mäki authored and David S. Miller committed Aug 10, 2009
1 parent 51af777 commit fdc3fc8
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: 082ba88a5e6b1425abed3fae4ad65e0e985ed081
refs/heads/master: b79a79471bd31d737c939a6ddc347417047b4320
2 changes: 1 addition & 1 deletion trunk/net/xfrm/xfrm_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static inline unsigned int __xfrm6_addr_hash(xfrm_address_t *addr)

static inline unsigned int __xfrm4_daddr_saddr_hash(xfrm_address_t *daddr, xfrm_address_t *saddr)
{
return ntohl(daddr->a4 ^ saddr->a4);
return ntohl(daddr->a4 + saddr->a4);
}

static inline unsigned int __xfrm6_daddr_saddr_hash(xfrm_address_t *daddr, xfrm_address_t *saddr)
Expand Down

0 comments on commit fdc3fc8

Please sign in to comment.