aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/udp.h')
-rw-r--r--include/linux/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h
index 9c94312b2de5..3deccac2e815 100644
--- a/include/linux/udp.h
+++ b/include/linux/udp.h
@@ -46,7 +46,7 @@ static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
46 46
47#define UDP_HTABLE_SIZE 128 47#define UDP_HTABLE_SIZE 128
48 48
49static inline int udp_hashfn(const unsigned num) 49static inline int udp_hashfn(struct net *net, const unsigned num)
50{ 50{
51 return num & (UDP_HTABLE_SIZE - 1); 51 return num & (UDP_HTABLE_SIZE - 1);
52} 52}