projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: smc91x: fix SMC accesses
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
udp.h
diff --git
a/include/linux/udp.h
b/include/linux/udp.h
index 247cfdcc4b08bbf377ff5819ebd02683806b0c83..87c094961bd5867a3a4bc7e83e6db7a38c2397cf 100644
(file)
--- a/
include/linux/udp.h
+++ b/
include/linux/udp.h
@@
-34,7
+34,7
@@
static inline struct udphdr *inner_udp_hdr(const struct sk_buff *skb)
#define UDP_HTABLE_SIZE_MIN (CONFIG_BASE_SMALL ? 128 : 256)
#define UDP_HTABLE_SIZE_MIN (CONFIG_BASE_SMALL ? 128 : 256)
-static inline
int udp_hashfn(struct net *net, unsigned num, unsigned
mask)
+static inline
u32 udp_hashfn(const struct net *net, u32 num, u32
mask)
{
return (num + net_hash_mix(net)) & mask;
}
{
return (num + net_hash_mix(net)) & mask;
}