diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2017-05-23 00:20:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-23 11:13:19 -0400 |
commit | 4c0ebd6fed66388584abb27d7b0f188cc1ec01fe (patch) | |
tree | a371d1c1ef273aa75a266fce592fc908f4ceadaf /include/net/inet_frag.h | |
parent | 9acfd1c02993b4fb11f08104e7166249925f25d5 (diff) | |
download | linux-4c0ebd6fed66388584abb27d7b0f188cc1ec01fe.tar.gz linux-4c0ebd6fed66388584abb27d7b0f188cc1ec01fe.tar.xz |
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 <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_frag.h')
-rw-r--r-- | include/net/inet_frag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 5894730ec82a..975779d0e7b0 100644 --- 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, |