2010-12-02 20:29:22 +00:00
|
|
|
--- a/ip/ipxfrm.c
|
|
|
|
+++ b/ip/ipxfrm.c
|
2017-10-01 19:46:27 +00:00
|
|
|
@@ -454,7 +454,6 @@ void xfrm_selector_print(struct xfrm_sel
|
2005-03-06 03:34:52 +00:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 13:17:46 +00:00
|
|
|
case IPPROTO_DCCP:
|
2005-03-06 03:34:52 +00:00
|
|
|
default: /* XXX */
|
|
|
|
if (sel->sport_mask)
|
2017-10-01 19:46:27 +00:00
|
|
|
@@ -1329,7 +1328,6 @@ static int xfrm_selector_upspec_parse(st
|
2005-03-06 03:34:52 +00:00
|
|
|
switch (sel->proto) {
|
|
|
|
case IPPROTO_TCP:
|
|
|
|
case IPPROTO_UDP:
|
|
|
|
- case IPPROTO_SCTP:
|
2007-06-09 13:17:46 +00:00
|
|
|
case IPPROTO_DCCP:
|
2016-02-01 18:04:00 +00:00
|
|
|
case IPPROTO_IP: /* to allow shared SA for different protocols */
|
2005-03-06 03:34:52 +00:00
|
|
|
break;
|