diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2017-05-23 00:21:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-23 11:13:19 -0400 |
commit | 417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a (patch) | |
tree | 792dfb112d7822dc53bcecc31e0f48f612a1c068 /include/net/request_sock.h | |
parent | 4c0ebd6fed66388584abb27d7b0f188cc1ec01fe (diff) |
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/request_sock.h')
-rw-r--r-- | include/net/request_sock.h | 2 |
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, |