aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/xfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/xfrm.c')
-rw-r--r--security/selinux/xfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c
index cb008d9f0a82..36a191e7004e 100644
--- a/security/selinux/xfrm.c
+++ b/security/selinux/xfrm.c
@@ -448,7 +448,7 @@ int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb,
448 if (dst) { 448 if (dst) {
449 struct dst_entry *dst_test; 449 struct dst_entry *dst_test;
450 450
451 for (dst_test = dst; dst_test != 0; 451 for (dst_test = dst; dst_test != NULL;
452 dst_test = dst_test->child) { 452 dst_test = dst_test->child) {
453 struct xfrm_state *x = dst_test->xfrm; 453 struct xfrm_state *x = dst_test->xfrm;
454 454