2010-12-03 04:29:22 +08:00
|
|
|
--- a/ip/ipxfrm.c
|
|
|
|
+++ b/ip/ipxfrm.c
|
2014-06-17 20:43:30 +08:00
|
|
|
@@ -469,7 +469,6 @@ void xfrm_selector_print(struct xfrm_sel
|
2005-03-06 11:34:52 +08:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 21:17:46 +08:00
|
|
|
case IPPROTO_DCCP:
|
2005-03-06 11:34:52 +08:00
|
|
|
default: /* XXX */
|
|
|
|
if (sel->sport_mask)
|
2014-06-17 20:43:30 +08:00
|
|
|
@@ -1282,7 +1281,6 @@ static int xfrm_selector_upspec_parse(st
|
2005-03-06 11:34:52 +08:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 21:17:46 +08:00
|
|
|
case IPPROTO_DCCP:
|
2005-03-06 11:34:52 +08:00
|
|
|
break;
|
|
|
|
default:
|