summaryrefslogtreecommitdiffstats
path: root/include/net/request_sock.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2017-05-22 23:21:39 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-23 17:13:19 +0200
commit417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a (patch)
tree792dfb112d7822dc53bcecc31e0f48f612a1c068 /include/net/request_sock.h
parentnet: make struct inet_frags::qsize unsigned (diff)
downloadlinux-417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a.tar.xz
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/request_sock.h')
-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,