MIP6: Ignore mobility headers if it is rejected.
Subsystems (2)
PATCH 18/20 MIP6: Ignore mobility headers if it is rejected.
Ignore mobility headers if it is rejected by route optimization. Mobility headers should be bypassed for any route optimization and application should use transformation policy and wild-card states corerctly to catch mobility headers prior than other packets.
This case which such reject is occurred may be either missing poilcy or erroneous policy is inserted to kernel.
Based on MIPL2 kernel patch.
--- net/ipv6/mip6.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
net/ipv6/mip6.c +3 -0
@@ -243,6 +243,9 @@ static int mip6_destopt_reject(struct xfstruct timeval stamp;int err =0 ; +if (unlikely (fl->proto ==IPPROTO_MH && fl->fl_mh_type <=IP6_MH_TYPE_MAX )) + goto out; +if (likely (opt->dsthao)) { offset =ipv6_find_tlv (skb, opt->dsthao,IPV6_TLV_HAO );if (likely (offset >=0 ))
Signature · 1 line
1.4.1