summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2017-05-23 00:21:39 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-23 11:13:19 -0400
commit417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a (patch)
tree792dfb112d7822dc53bcecc31e0f48f612a1c068 /include/net
parent4c0ebd6fed66388584abb27d7b0f188cc1ec01fe (diff)
downloadlinux-417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a.tar.gz
linux-417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a.tar.bz2
linux-417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a.zip
net: make struct request_sock_ops::obj_size unsigned
This field is sizeof of corresponding kmem_cache so it can't be negative. Space will be saved after 32-bit kmem_cache_create() patch. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/request_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index a12a5d25b27e..53ced67c4ae9 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -29,7 +29,7 @@ struct proto;
struct request_sock_ops {
int family;
- int obj_size;
+ unsigned int obj_size;
struct kmem_cache *slab;
char *slab_name;
int (*rtx_syn_ack)(const struct sock *sk,