[openwrt/openwrt] iproute2: Add support for ports in xfrm on SCTP

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 24 01:30:06 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/92419ab4c774de9b95fcfe0243d554d43deb0a2f

commit 92419ab4c774de9b95fcfe0243d554d43deb0a2f
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu Feb 15 23:52:43 2018 +0100

    iproute2: Add support for ports in xfrm on SCTP
    
    Remove this old patch which prevents showing the xfrm ports for SCTP
    
    This was added in commit 60c1f0f64d23 ("finally move buildroot-ng to trunk")
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../network/utils/iproute2/patches/006-no_sctp.patch   | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/package/network/utils/iproute2/patches/006-no_sctp.patch b/package/network/utils/iproute2/patches/006-no_sctp.patch
deleted file mode 100644
index e23fbcd..0000000
--- a/package/network/utils/iproute2/patches/006-no_sctp.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/ip/ipxfrm.c
-+++ b/ip/ipxfrm.c
-@@ -454,7 +454,6 @@ void xfrm_selector_print(struct xfrm_sel
- 	switch (sel->proto) {
- 	case IPPROTO_TCP:
- 	case IPPROTO_UDP:
--	case IPPROTO_SCTP:
- 	case IPPROTO_DCCP:
- 	default: /* XXX */
- 		if (sel->sport_mask)
-@@ -1329,7 +1328,6 @@ static int xfrm_selector_upspec_parse(st
- 		switch (sel->proto) {
- 		case IPPROTO_TCP:
- 		case IPPROTO_UDP:
--		case IPPROTO_SCTP:
- 		case IPPROTO_DCCP:
- 		case IPPROTO_IP: /* to allow shared SA for different protocols */
- 			break;



More information about the lede-commits mailing list