]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: cls_u32: make sure that divisor is a power of 2
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Oct 2018 10:22:35 +0000 (06:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:33:35 +0000 (10:33 -0700)
commitd55697659854579ad90f74d3863ff9f8412f7571
tree053c7a370765fcf2f8afa60dffef94d29e86b1c2
parent168207a88c522f1ee33c0c660068661f23f7cba1
net: sched: cls_u32: make sure that divisor is a power of 2

Tested by modifying iproute2 to allow sending a divisor > 255

Tested-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_u32.c