[NET_SCHED]: cls_flow: fix key mask validity check
commit4f25049106e0507ff21a9e1fc0645d849e19faf0
authorPatrick McHardy <kaber@trash.net>
Wed, 6 Feb 2008 00:19:59 +0000 (5 16:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2008 00:19:59 +0000 (5 16:19 -0800)
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