From: Alexey Dobriyan Date: Mon, 22 May 2017 21:21:39 +0000 (+0300) Subject: net: make struct request_sock_ops::obj_size unsigned X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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,