]> git.proxmox.com Git - mirror_iproute2.git/commit
q_cake: Make fwmark uint instead of int
authorOdin Ugedal <odin@ugedal.com>
Wed, 15 Apr 2020 14:39:34 +0000 (16:39 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Apr 2020 16:33:15 +0000 (09:33 -0700)
commit6f883f168cf9e1f3be208a10d671a54d781e75a5
tree9c96cebbc7c1d11127ad6ed014ba671911703b3d
parente07c57e94e27d2f15bfb9de4db7ca3ab9d9368ed
q_cake: Make fwmark uint instead of int

This will help avoid overflow, since setting it to 0xffffffff would
result in -1 when converted to integer, resulting in being "-1", setting
the fwmark to 0x00.

Signed-off-by: Odin Ugedal <odin@ugedal.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/q_cake.c