]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET_SCHED]: cls_flow: fix key mask validity check
authorPatrick McHardy <kaber@trash.net>
Wed, 6 Feb 2008 00:19:59 +0000 (16:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2008 00:19:59 +0000 (16:19 -0800)
commit4f25049106e0507ff21a9e1fc0645d849e19faf0
tree0bb28370f4ef81d89030e56df0cf192b778e67dd
parent0ea9d70df8f8be741ee0525490370de06163d2de
[NET_SCHED]: cls_flow: fix key mask validity check

Since we're using fls(), we need to check whether the value is
non-zero first.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flow.c