flowcache: more "unsigned int"
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 2 Apr 2017 21:53:15 +0000 (00:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Apr 2017 02:04:48 +0000 (19:04 -0700)
commitec2e45a978b05cd9711e804a41b8a5bc829a8650
treedce827fc16f1119dc93208ccb1d43bbcaf838357
parentf31cc7e8155f392583a1e3cc2e83ddbc43bacbb3
flowcache: more "unsigned int"

Make ->hash_count, ->low_watermark and ->high_watermark unsigned int
and propagate unsignedness to other variables.

This change doesn't change code generation because these fields aren't
used in 64-bit contexts but make it anyway: these fields can't be
negative numbers.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flowcache.h
net/core/flow.c