Loading net/xfrm/xfrm_state.c +6 −5 Original line number Original line Diff line number Diff line Loading @@ -50,8 +50,8 @@ static void xfrm_audit_state_replay(struct xfrm_state *x, #endif /* CONFIG_AUDITSYSCALL */ #endif /* CONFIG_AUDITSYSCALL */ static inline unsigned int xfrm_dst_hash(struct net *net, static inline unsigned int xfrm_dst_hash(struct net *net, xfrm_address_t *daddr, const xfrm_address_t *daddr, xfrm_address_t *saddr, const xfrm_address_t *saddr, u32 reqid, u32 reqid, unsigned short family) unsigned short family) { { Loading @@ -59,15 +59,16 @@ static inline unsigned int xfrm_dst_hash(struct net *net, } } static inline unsigned int xfrm_src_hash(struct net *net, static inline unsigned int xfrm_src_hash(struct net *net, xfrm_address_t *daddr, const xfrm_address_t *daddr, xfrm_address_t *saddr, const xfrm_address_t *saddr, unsigned short family) unsigned short family) { { return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); } } static inline unsigned int static inline unsigned int xfrm_spi_hash(struct net *net, xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family) xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family) { { return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); } } Loading Loading
net/xfrm/xfrm_state.c +6 −5 Original line number Original line Diff line number Diff line Loading @@ -50,8 +50,8 @@ static void xfrm_audit_state_replay(struct xfrm_state *x, #endif /* CONFIG_AUDITSYSCALL */ #endif /* CONFIG_AUDITSYSCALL */ static inline unsigned int xfrm_dst_hash(struct net *net, static inline unsigned int xfrm_dst_hash(struct net *net, xfrm_address_t *daddr, const xfrm_address_t *daddr, xfrm_address_t *saddr, const xfrm_address_t *saddr, u32 reqid, u32 reqid, unsigned short family) unsigned short family) { { Loading @@ -59,15 +59,16 @@ static inline unsigned int xfrm_dst_hash(struct net *net, } } static inline unsigned int xfrm_src_hash(struct net *net, static inline unsigned int xfrm_src_hash(struct net *net, xfrm_address_t *daddr, const xfrm_address_t *daddr, xfrm_address_t *saddr, const xfrm_address_t *saddr, unsigned short family) unsigned short family) { { return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); } } static inline unsigned int static inline unsigned int xfrm_spi_hash(struct net *net, xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family) xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family) { { return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); } } Loading