projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0ebd6
)
net: make struct request_sock_ops::obj_size unsigned
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 22 May 2017 21:21:39 +0000
(
00:21
+0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 23 May 2017 15:13:19 +0000
(11:13 -0400)
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>
include/net/request_sock.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/request_sock.h
b/include/net/request_sock.h
index a12a5d25b27e650166cdd1bd8513317874b714da..53ced67c4ae9d85e83ee6df37f84158c9fd9c4d1 100644
(file)
--- 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,