]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69352c8327d85cd3c249b71fc9e5dcff06d76c8b
treedce827fc16f1119dc93208ccb1d43bbcaf838357
parentf6514a8ac97cc65ee1ce3ba9ac90858616f177d5
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