diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-06-16 17:12:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 17:12:29 -0700 |
commit | 19c7578fb22b0aef103222cae9b522f03ae489d6 (patch) | |
tree | 645365b1bfb70bf758633934660608be180f07f0 /include | |
parent | e31634931d00081c75e3fb3f3ec51a50dbf108bb (diff) | |
download | linux-3.10-19c7578fb22b0aef103222cae9b522f03ae489d6.tar.gz linux-3.10-19c7578fb22b0aef103222cae9b522f03ae489d6.tar.bz2 linux-3.10-19c7578fb22b0aef103222cae9b522f03ae489d6.zip |
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')
-rw-r--r-- | include/linux/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/udp.h b/include/linux/udp.h index 9c94312b2de..3deccac2e81 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); } |