Merge tag 'rcu-urgent.2022.12.17a' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / include / linux / udp.h
index dea57aa37df6c075b430d0c8ce80551fba2a60e9..a2892e151644ec347ad52d426400678e4a53b359 100644 (file)
@@ -23,7 +23,9 @@ static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
        return (struct udphdr *)skb_transport_header(skb);
 }
 
+#define UDP_HTABLE_SIZE_MIN_PERNET     128
 #define UDP_HTABLE_SIZE_MIN            (CONFIG_BASE_SMALL ? 128 : 256)
+#define UDP_HTABLE_SIZE_MAX            65536
 
 static inline u32 udp_hashfn(const struct net *net, u32 num, u32 mask)
 {