summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2019-04-25 00:44:30 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-04-26 11:02:14 -0400
commit271b850274deb2187d97a3cd623486b2568bb2f8 (patch)
treebdeb089e13bca2002c6ac089456268db1c07042e /recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
parentd911b76ccafeaff97d196a62fb030d6604ee374c (diff)
downloadmeta-cloud-services-271b850274deb2187d97a3cd623486b2568bb2f8.tar.gz
glusterfs: uprev from v5.4 to v6.1
The release-6.1 fixes a lot of CVEs. Modify parts of patches for v6.1. Remove bd-xlator configure which has been dropped. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Diffstat (limited to 'recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch')
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
index e3453a2..deb9e45 100644
--- a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
@@ -1,6 +1,6 @@
1From b0c106e74beee36c20f73b956841007209a7f23c Mon Sep 17 00:00:00 2001 1From b8b48d3c4ab92ce167db8137426fad45e938b11b Mon Sep 17 00:00:00 2001
2From: "Hongzhi.Song" <hongzhi.song@windriver.com> 2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Tue, 12 Mar 2019 19:52:03 -0700 3Date: Wed, 24 Apr 2019 22:50:01 -0400
4Subject: [PATCH] glusterfs: change default nfs port number 4Subject: [PATCH] glusterfs: change default nfs port number
5 5
6Currently both native nfs and glusterfs-nfs use NFS well 6Currently both native nfs and glusterfs-nfs use NFS well
@@ -30,25 +30,25 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com>
30Signed-off-by: Xulin Sun <xulin.sun@windriver.com> 30Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
31[Yi: minor adjust to apply the patch on 3.11.1] 31[Yi: minor adjust to apply the patch on 3.11.1]
32Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 32Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
33[Hongzhi: minor adjust to apply the patch on v5.4] 33[Hongzhi: modify patch for release-6.1]
34Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> 34Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
35--- 35---
36 libglusterfs/src/common-utils.h | 2 +- 36 libglusterfs/src/glusterfs/common-utils.h | 2 +-
37 1 file changed, 1 insertion(+), 1 deletion(-) 37 1 file changed, 1 insertion(+), 1 deletion(-)
38 38
39diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h 39diff --git a/libglusterfs/src/glusterfs/common-utils.h b/libglusterfs/src/glusterfs/common-utils.h
40index 6a6fd8c..218e379 100644 40index 0e2ecc7..59237a9 100644
41--- a/libglusterfs/src/common-utils.h 41--- a/libglusterfs/src/glusterfs/common-utils.h
42+++ b/libglusterfs/src/common-utils.h 42+++ b/libglusterfs/src/glusterfs/common-utils.h
43@@ -108,7 +108,7 @@ trap(void); 43@@ -108,7 +108,7 @@ trap(void);
44 /* Defining this here as it is needed by glusterd for setting 44 /* Defining this here as it is needed by glusterd for setting
45 * nfs port in volume status. 45 * nfs port in volume status.
46 */ 46 */
47-#define GF_NFS3_PORT 2049 47-#define GF_NFS3_PORT 2049
48+#define GF_NFS3_PORT 38467 48+#define GF_NFS3_PORT 38467
49 49
50 #define GF_CLIENT_PORT_CEILING 1024 50 #define GF_CLIENT_PORT_CEILING 1024
51 #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */ 51 #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */
52-- 52--
532.17.1 532.8.1
54 54