diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-06-16 20:12:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 20:12:29 -0400 |
commit | 19c7578fb22b0aef103222cae9b522f03ae489d6 (patch) | |
tree | 645365b1bfb70bf758633934660608be180f07f0 /include/linux/udp.h | |
parent | e31634931d00081c75e3fb3f3ec51a50dbf108bb (diff) |
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.h | 2 |
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 | ||
49 | static inline int udp_hashfn(const unsigned num) | 49 | static 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 | } |