006-no_sctp.patch 502 B

123456789101112131415161718
  1. --- a/ip/ipxfrm.c
  2. +++ b/ip/ipxfrm.c
  3. @@ -470,7 +470,6 @@ void xfrm_selector_print(struct xfrm_sel
  4. switch (sel->proto) {
  5. case IPPROTO_TCP:
  6. case IPPROTO_UDP:
  7. - case IPPROTO_SCTP:
  8. case IPPROTO_DCCP:
  9. default: /* XXX */
  10. if (sel->sport_mask)
  11. @@ -1341,7 +1340,6 @@ static int xfrm_selector_upspec_parse(st
  12. switch (sel->proto) {
  13. case IPPROTO_TCP:
  14. case IPPROTO_UDP:
  15. - case IPPROTO_SCTP:
  16. case IPPROTO_DCCP:
  17. case IPPROTO_IP: /* to allow shared SA for different protocols */
  18. break;