]> err.no Git - linux-2.6/blobdiff - net/sched/cls_u32.c
[NET]: Removing duplicit #includes
[linux-2.6] / net / sched / cls_u32.c
index d4d5d2f271d2f77f17fc7dbfd605cbbe3ab14f5a..9e98c6e567dde518ba28b29ed7211cb6baac19de 100644 (file)
@@ -592,7 +592,7 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle,
        } else
                handle = gen_new_kid(ht, htid);
 
-       if (tb[TCA_U32_SEL-1] == 0 ||
+       if (tb[TCA_U32_SEL-1] == NULL ||
            RTA_PAYLOAD(tb[TCA_U32_SEL-1]) < sizeof(struct tc_u32_sel))
                return -EINVAL;