2010-12-02 20:29:22 +00:00
|
|
|
--- a/ip/ipxfrm.c
|
|
|
|
+++ b/ip/ipxfrm.c
|
2017-03-20 21:53:46 +00:00
|
|
|
@@ -465,7 +465,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-03-20 21:53:46 +00:00
|
|
|
@@ -1321,7 +1320,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;
|