diff options
Diffstat (limited to 'include/net/ping.h')
-rw-r--r-- | include/net/ping.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/net/ping.h b/include/net/ping.h index e4ff3911cbf5..bc7779262e60 100644 --- a/include/net/ping.h +++ b/include/net/ping.h @@ -16,14 +16,7 @@ #define PING_HTABLE_SIZE 64 #define PING_HTABLE_MASK (PING_HTABLE_SIZE-1) -#define ping_portaddr_for_each_entry(__sk, node, list) \ - hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node) - -/* - * gid_t is either uint or ushort. We want to pass it to - * proc_dointvec_minmax(), so it must not be larger than MAX_INT - */ -#define GID_T_MAX (((gid_t)~0U) >> 1) +#define GID_T_MAX (((gid_t)~0U) - 1) /* Compatibility glue so we can support IPv6 when it's compiled as a module */ struct pingv6_ops { |