summaryrefslogtreecommitdiff
path: root/include/linux/udp.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-06-17 04:12:29 +0400
committerDavid S. Miller <davem@davemloft.net>2008-06-17 04:12:29 +0400
commit19c7578fb22b0aef103222cae9b522f03ae489d6 (patch)
tree645365b1bfb70bf758633934660608be180f07f0 /include/linux/udp.h
parente31634931d00081c75e3fb3f3ec51a50dbf108bb (diff)
downloadlinux-19c7578fb22b0aef103222cae9b522f03ae489d6.tar.xz
udp: add struct net argument to udp_hashfn
Every caller already has this one. The new argument is currently unused, but this will be fixed shortly. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
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)
#define UDP_HTABLE_SIZE 128
-static inline int udp_hashfn(const unsigned num)
+static inline int udp_hashfn(struct net *net, const unsigned num)
{
return num & (UDP_HTABLE_SIZE - 1);
}