net: make struct inet_frags::qsize unsigned
Subsystems (2)
PATCH 1/1 net: make struct inet_frags::qsize unsigned
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 <[email protected]>
---
include/net/inet_frag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/inet_frag.h +1 -1
@@ -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,
From: Alexey Dobriyan <[email protected]>
Date: Tue, 23 May 2017 00:20:26 +0300
Quoted 5 lines
This field is sizeof of corresponding
kmem_cacheso it can't be negative.Prepare for 32-bit
kmem_cache_create().Signed-off-by Alexey Dobriyan <[email protected]>
Applied.