aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2007-06-27 02:51:41 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:15:41 -0400
commit136ebf08b46f839e2dc9db34322b654e5d9b9936 (patch)
tree6a38a3c546def150ff73effcf4afd9c55881f49c /include/net/xfrm.h
parent2371baa4bdab3268b32009926f75e7a5d3a41506 (diff)
[IPV6] MIP6: Kill unnecessary ifdefs.
Kill unnecessary CONFIG_IPV6_MIP6. o It is redundant for RAW socket to keep MH out with the config then it can handle any protocol. o Clean-up at AH. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 311f25af5e1a..7720c1182bb4 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -509,11 +509,9 @@ __be16 xfrm_flowi_sport(struct flowi *fl)
509 case IPPROTO_ICMPV6: 509 case IPPROTO_ICMPV6:
510 port = htons(fl->fl_icmp_type); 510 port = htons(fl->fl_icmp_type);
511 break; 511 break;
512#ifdef CONFIG_IPV6_MIP6
513 case IPPROTO_MH: 512 case IPPROTO_MH:
514 port = htons(fl->fl_mh_type); 513 port = htons(fl->fl_mh_type);
515 break; 514 break;
516#endif
517 default: 515 default:
518 port = 0; /*XXX*/ 516 port = 0; /*XXX*/
519 } 517 }