]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - security/selinux/xfrm.c
sparse pointer use of zero as null
[net-next-2.6.git] / security / selinux / xfrm.c
index cb008d9f0a823235265464197b8e2cd311b084e2..36a191e7004e957fb38de4e9c5507f8941a33062 100644 (file)
@@ -448,7 +448,7 @@ int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb,
        if (dst) {
                struct dst_entry *dst_test;
 
-               for (dst_test = dst; dst_test != 0;
+               for (dst_test = dst; dst_test != NULL;
                     dst_test = dst_test->child) {
                        struct xfrm_state *x = dst_test->xfrm;