From 31c5444416ed8d9e2c8249dcbe35b23055f910f1 Mon Sep 17 00:00:00 2001
From: Masafumi Aramoto <aramoto@localhost.localdomain>
Date: Mon, 19 Mar 2007 19:31:07 +0900
Subject: [KERNELIF] XFRM: Disable inbound trigger policy which avoid to receive RO packets. It's due to ifindex problem.

---
 src/xfrm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xfrm.c b/src/xfrm.c
index 6030ca6..d7284d5 100644
--- a/src/xfrm.c
+++ b/src/xfrm.c
@@ -1197,12 +1197,14 @@ int mn_ro_pol_add(struct home_addr_info *hai, int ifindex, int changed)
 					XFRM_POLICY_ALLOW,
 					MIP6_PRIO_RO_TRIG_ANY, &otmpl, 1))
 			return -1;
+#if 0  // Disable inboud trigger because of ifindex problem
 		set_selector(&hai->hoa.addr, &in6addr_any,
 			     0, 0, 0, 0, &sel);
 		if (xfrm_mip_policy_add(&sel, 0, XFRM_POLICY_IN,
 					XFRM_POLICY_ALLOW,
 					MIP6_PRIO_RO_TRIG_ANY, &itmpl, 1))
 			return -1;
+#endif
 	}
 
 	return 0;
-- 
1.5.0.3

