projects
/
GitHub
/
moto-9609
/
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:
9acfd1c
)
net: make struct inet_frags::qsize unsigned
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 22 May 2017 21:20:26 +0000
(
00:20
+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.
Prepare for 32-bit kmem_cache_create().
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/inet_frag.h
b/include/net/inet_frag.h
index 5894730ec82a9fba3b9bca160de6e0db3a73024e..975779d0e7b086dd648429b76e3558d681e62a3d 100644
(file)
--- a/
include/net/inet_frag.h
+++ b/
include/net/inet_frag.h
@@
-92,7
+92,7
@@
struct inet_frags {
*/
u32 rnd;
seqlock_t rnd_seqlock;
-
int
qsize;
+
unsigned int
qsize;
unsigned int (*hashfn)(const struct inet_frag_queue *);
bool (*match)(const struct inet_frag_queue *q,