[IPV6]: File the fingerprints off ah6->spi/esp6->spi

In theory these are opaque 32bit values. However, we end up
allocating them sequentially in host-endian and stick unchanged
on the wire.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Al Viro and committed by David S. Miller 5b122545 b1736a71

+2 -2
+2 -2
net/ipv6/xfrm6_tunnel.c
··· 135 135 x6spi = __xfrm6_tunnel_spi_lookup(saddr); 136 136 spi = x6spi ? x6spi->spi : 0; 137 137 read_unlock_bh(&xfrm6_tunnel_spi_lock); 138 - return spi; 138 + return htonl(spi); 139 139 } 140 140 141 141 EXPORT_SYMBOL(xfrm6_tunnel_spi_lookup); ··· 210 210 spi = __xfrm6_tunnel_alloc_spi(saddr); 211 211 write_unlock_bh(&xfrm6_tunnel_spi_lock); 212 212 213 - return spi; 213 + return htonl(spi); 214 214 } 215 215 216 216 EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi);