mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
drivers/net/wwan/mhi_wwan_mbim.c - drop the extra arg. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -601,14 +601,14 @@ static struct fib_nh_exception *fnhe_oldest(struct fnhe_hash_bucket *hash)
|
||||
return oldest;
|
||||
}
|
||||
|
||||
static inline u32 fnhe_hashfun(__be32 daddr)
|
||||
static u32 fnhe_hashfun(__be32 daddr)
|
||||
{
|
||||
static u32 fnhe_hashrnd __read_mostly;
|
||||
u32 hval;
|
||||
static siphash_key_t fnhe_hash_key __read_mostly;
|
||||
u64 hval;
|
||||
|
||||
net_get_random_once(&fnhe_hashrnd, sizeof(fnhe_hashrnd));
|
||||
hval = jhash_1word((__force u32)daddr, fnhe_hashrnd);
|
||||
return hash_32(hval, FNHE_HASH_SHIFT);
|
||||
net_get_random_once(&fnhe_hash_key, sizeof(fnhe_hash_key));
|
||||
hval = siphash_1u32((__force u32)daddr, &fnhe_hash_key);
|
||||
return hash_64(hval, FNHE_HASH_SHIFT);
|
||||
}
|
||||
|
||||
static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe)
|
||||
|
||||
Reference in New Issue
Block a user