Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40611
b: refs/heads/master
c: 5b12254
h: refs/heads/master
i:
  40609: a7aff98
  40607: f3a39be
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Nov 1, 2006
1 parent 5ec0745 commit c3d6024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b1736a71404b3961f061c795a81210aa7f945fc0
refs/heads/master: 5b1225454f7891970cb5ba87c8ef24edb1fa6c3a
4 changes: 2 additions & 2 deletions trunk/net/ipv6/xfrm6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ u32 xfrm6_tunnel_spi_lookup(xfrm_address_t *saddr)
x6spi = __xfrm6_tunnel_spi_lookup(saddr);
spi = x6spi ? x6spi->spi : 0;
read_unlock_bh(&xfrm6_tunnel_spi_lock);
return spi;
return htonl(spi);
}

EXPORT_SYMBOL(xfrm6_tunnel_spi_lookup);
Expand Down Expand Up @@ -210,7 +210,7 @@ u32 xfrm6_tunnel_alloc_spi(xfrm_address_t *saddr)
spi = __xfrm6_tunnel_alloc_spi(saddr);
write_unlock_bh(&xfrm6_tunnel_spi_lock);

return spi;
return htonl(spi);
}

EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi);
Expand Down

0 comments on commit c3d6024

Please sign in to comment.