diff --git a/modules b/modules
index 12a0f012875068ac00bff0cdc4c1b1ade94d2bbb..2842e1c34d47c5115be6a040992b1afc5b0c89cb 100644
--- a/modules
+++ b/modules
@@ -2,7 +2,7 @@ GLUON_FEEDS='openwrt gluon routing luci'
 
 LEDE_REPO=https://git.lede-project.org/source.git
 LEDE_BRANCH=lede-17.01
-LEDE_COMMIT=8d3d7f6b52f5dd43866f0674bf32800a8233c358
+LEDE_COMMIT=3214e174a07f5b333ae6f3fe5a857c8324e9ae27
 
 PACKAGES_OPENWRT_REPO=https://github.com/openwrt/packages.git
 PACKAGES_OPENWRT_BRANCH=lede-17.01
diff --git a/patches/lede/0012-procd-switch-to-master-branch.patch b/patches/lede/0012-procd-switch-to-master-branch.patch
new file mode 100644
index 0000000000000000000000000000000000000000..0a239f9e7ba2ab684ac2508c949f88de1d33305e
--- /dev/null
+++ b/patches/lede/0012-procd-switch-to-master-branch.patch
@@ -0,0 +1,19 @@
+From: Matthias Schiffer <mschiffer@universe-factory.net>
+Date: Sat, 8 Jul 2017 14:44:00 +0200
+Subject: procd: switch to master branch
+
+diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
+index 70515958cd5002841fd9698b7a7f4aec01ddfb3b..cead3b9b7a5f83879a1aee08ab0463049dd228f4 100644
+--- a/package/system/procd/Makefile
++++ b/package/system/procd/Makefile
+@@ -13,8 +13,8 @@ PKG_RELEASE:=1
+ PKG_SOURCE_PROTO:=git
+ PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
+ PKG_SOURCE_DATE:=2017-06-19
+-PKG_SOURCE_VERSION:=89918c8cb78e651ee0922f13a96b7f25fc2f285a
+-PKG_MIRROR_HASH:=fad1a37227f85070f6a49a37ea1e98c22c066c91f16ad26898152972eb0c6a91
++PKG_SOURCE_VERSION:=453116e08e6a9349374bbff427b75f57ce5387c9
++PKG_MIRROR_HASH:=a0d5c1ddbd2ba63d52125fa5a815d48a3bfb1b1e0a6b85f3335af8a873ed58fc
+ CMAKE_INSTALL:=1
+ 
+ PKG_LICENSE:=GPL-2.0
diff --git a/patches/lede/0012-procd-update-to-git-HEAD-version.patch b/patches/lede/0012-procd-update-to-git-HEAD-version.patch
deleted file mode 100644
index c9c08fd9dc22509c41573ba1ea344c3190ca6e34..0000000000000000000000000000000000000000
--- a/patches/lede/0012-procd-update-to-git-HEAD-version.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Hans Dedecker <dedeckeh@gmail.com>
-Date: Mon, 6 Mar 2017 17:25:44 +0100
-Subject: procd: update to git HEAD version
-
-8f218f5 procd: service gets deleted when its last instance is freed
-35209a0 procd: update modprobe path
-
-Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-
-diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
-index fd1bca3f4b9665581f9e9ddd9b9294fa500a9d3d..43ea23aab00918a2b664e9a5da7767f90cd568db 100644
---- a/package/system/procd/Makefile
-+++ b/package/system/procd/Makefile
-@@ -12,9 +12,9 @@ PKG_RELEASE:=1
- 
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
--PKG_SOURCE_DATE:=2017-02-15
--PKG_SOURCE_VERSION:=5f9124103410c178d816bb5229fba7dd2286a49b
--PKG_MIRROR_HASH:=ec887b349fc60ad3882fc9eaefb5cd299d64e7d43c062df9f7b7500591ba3e85
-+PKG_SOURCE_DATE:=2017-03-05
-+PKG_SOURCE_VERSION:=8f218f5626a3cb3900dbe9801ee8ace236b0e4a5
-+PKG_MIRROR_HASH:=8ac8691888b64726453bd726fe0c98fc906540bbd2ae666dae6bea592b0b4e4d
- CMAKE_INSTALL:=1
- 
- PKG_LICENSE:=GPL-2.0
diff --git a/patches/lede/0017-procd-remove-procd-nand-package.patch b/patches/lede/0016-procd-remove-procd-nand-package.patch
similarity index 99%
rename from patches/lede/0017-procd-remove-procd-nand-package.patch
rename to patches/lede/0016-procd-remove-procd-nand-package.patch
index d600436310b9cbbe5c0cd1cb2aef2a482e4887b1..80426eff987e20bef796baad6f7da1c512a09a01 100644
--- a/patches/lede/0017-procd-remove-procd-nand-package.patch
+++ b/patches/lede/0016-procd-remove-procd-nand-package.patch
@@ -435,7 +435,7 @@ index 0000000000000000000000000000000000000000..6bd2005344c081df20e5a330a69e49e3
 +	nand_upgrade_stage1
 +}
 diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
-index 805583143fa865d9ffb38355f10ad300e222400e..775b9a64e172b250b3ba27e71fbf07aff46ede14 100644
+index cead3b9b7a5f83879a1aee08ab0463049dd228f4..2a42db1fc034b554860393cfd9b17ed8423d7bc4 100644
 --- a/package/system/procd/Makefile
 +++ b/package/system/procd/Makefile
 @@ -22,11 +22,9 @@ PKG_LICENSE_FILES:=
diff --git a/patches/lede/0016-procd-update-to-latest-git-HEAD.patch b/patches/lede/0016-procd-update-to-latest-git-HEAD.patch
deleted file mode 100644
index 6d6ed2fd8c72dda0356aa2fa7af5c725681290ef..0000000000000000000000000000000000000000
--- a/patches/lede/0016-procd-update-to-latest-git-HEAD.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Matthias Schiffer <mschiffer@universe-factory.net>
-Date: Mon, 29 May 2017 23:15:22 +0200
-Subject: procd: update to latest git HEAD
-
-992b796 rcS: add missing fcntl.h include
-63789e5 init: add support for sysupgrades triggered from preinit
-5b1fb35 Remove code that has become unnecessary after sysupgrade changes
-5918b6d upgraded: add support for passing a "command" argument to stage2
-056d8dd upgraded: link dynamically, chroot during exec
-7c6cf55 system: always support staged sysupgrade
-d42b21e procd/rcS: Use /dev/null as stdin
-e0098d4 service/instance: add an auto start option
-1247db1 procd: Log initscript output prefixed with script name
-8d720b2 procd: Don't use syslog before its initialization
-2555474 procd: Add missing \n in debug message
-
-Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-
-diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
-index 43ea23aab00918a2b664e9a5da7767f90cd568db..805583143fa865d9ffb38355f10ad300e222400e 100644
---- a/package/system/procd/Makefile
-+++ b/package/system/procd/Makefile
-@@ -12,9 +12,9 @@ PKG_RELEASE:=1
- 
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
--PKG_SOURCE_DATE:=2017-03-05
--PKG_SOURCE_VERSION:=8f218f5626a3cb3900dbe9801ee8ace236b0e4a5
--PKG_MIRROR_HASH:=8ac8691888b64726453bd726fe0c98fc906540bbd2ae666dae6bea592b0b4e4d
-+PKG_SOURCE_DATE:=2017-05-29
-+PKG_SOURCE_VERSION:=992b796204caf5b0290ea4a1246b43b353b6c1d7
-+PKG_MIRROR_HASH:=effecf66ef6a7396dd26d54a5d232b4a895d9fe7aaca83063aaffc7b39a051d5
- CMAKE_INSTALL:=1
- 
- PKG_LICENSE:=GPL-2.0
diff --git a/patches/lede/0018-base-files-always-use-staged-sysupgrade.patch b/patches/lede/0017-base-files-always-use-staged-sysupgrade.patch
similarity index 100%
rename from patches/lede/0018-base-files-always-use-staged-sysupgrade.patch
rename to patches/lede/0017-base-files-always-use-staged-sysupgrade.patch
diff --git a/patches/lede/0019-fstools-clean-up-trailing-whitespace-in-snapshot-script.patch b/patches/lede/0018-fstools-clean-up-trailing-whitespace-in-snapshot-script.patch
similarity index 100%
rename from patches/lede/0019-fstools-clean-up-trailing-whitespace-in-snapshot-script.patch
rename to patches/lede/0018-fstools-clean-up-trailing-whitespace-in-snapshot-script.patch
diff --git a/patches/lede/0020-fstools-snapshot-handle-jffs2-conversion-using-upgraded.patch b/patches/lede/0019-fstools-snapshot-handle-jffs2-conversion-using-upgraded.patch
similarity index 100%
rename from patches/lede/0020-fstools-snapshot-handle-jffs2-conversion-using-upgraded.patch
rename to patches/lede/0019-fstools-snapshot-handle-jffs2-conversion-using-upgraded.patch
diff --git a/patches/lede/0021-base-files-sysupgrade-cleanup.patch b/patches/lede/0020-base-files-sysupgrade-cleanup.patch
similarity index 100%
rename from patches/lede/0021-base-files-sysupgrade-cleanup.patch
rename to patches/lede/0020-base-files-sysupgrade-cleanup.patch
diff --git a/patches/lede/0022-base-files-add-support-for-staged-sysupgrades-from-failsafe-mode.patch b/patches/lede/0021-base-files-add-support-for-staged-sysupgrades-from-failsafe-mode.patch
similarity index 100%
rename from patches/lede/0022-base-files-add-support-for-staged-sysupgrades-from-failsafe-mode.patch
rename to patches/lede/0021-base-files-add-support-for-staged-sysupgrades-from-failsafe-mode.patch
diff --git a/patches/lede/0023-ramips-sysupgrade-move-nand_do_upgrade-call-to-platform_do_upgrade.patch b/patches/lede/0022-ramips-sysupgrade-move-nand_do_upgrade-call-to-platform_do_upgrade.patch
similarity index 100%
rename from patches/lede/0023-ramips-sysupgrade-move-nand_do_upgrade-call-to-platform_do_upgrade.patch
rename to patches/lede/0022-ramips-sysupgrade-move-nand_do_upgrade-call-to-platform_do_upgrade.patch
diff --git a/patches/lede/0024-x86-sysupgrade-move-partition-table-change-check-to-platform_check_image.patch b/patches/lede/0023-x86-sysupgrade-move-partition-table-change-check-to-platform_check_image.patch
similarity index 100%
rename from patches/lede/0024-x86-sysupgrade-move-partition-table-change-check-to-platform_check_image.patch
rename to patches/lede/0023-x86-sysupgrade-move-partition-table-change-check-to-platform_check_image.patch
diff --git a/patches/lede/0025-x86-sysupgrade-refactor-platform_do_upgrade.patch b/patches/lede/0024-x86-sysupgrade-refactor-platform_do_upgrade.patch
similarity index 100%
rename from patches/lede/0025-x86-sysupgrade-refactor-platform_do_upgrade.patch
rename to patches/lede/0024-x86-sysupgrade-refactor-platform_do_upgrade.patch
diff --git a/patches/lede/0026-x86-sysupgrade-explicitly-rescan-disk-after-writing-partition-table.patch b/patches/lede/0025-x86-sysupgrade-explicitly-rescan-disk-after-writing-partition-table.patch
similarity index 100%
rename from patches/lede/0026-x86-sysupgrade-explicitly-rescan-disk-after-writing-partition-table.patch
rename to patches/lede/0025-x86-sysupgrade-explicitly-rescan-disk-after-writing-partition-table.patch
diff --git a/patches/lede/0027-sunxi-sysupgrade-don-t-write-partitions-twice.patch b/patches/lede/0026-sunxi-sysupgrade-don-t-write-partitions-twice.patch
similarity index 100%
rename from patches/lede/0027-sunxi-sysupgrade-don-t-write-partitions-twice.patch
rename to patches/lede/0026-sunxi-sysupgrade-don-t-write-partitions-twice.patch
diff --git a/patches/lede/0028-sunxi-sysupgrade-sync-with-x86.patch b/patches/lede/0027-sunxi-sysupgrade-sync-with-x86.patch
similarity index 100%
rename from patches/lede/0028-sunxi-sysupgrade-sync-with-x86.patch
rename to patches/lede/0027-sunxi-sysupgrade-sync-with-x86.patch
diff --git a/patches/lede/0030-mvebu-fix-sysupgrade.patch b/patches/lede/0028-mvebu-fix-sysupgrade.patch
similarity index 100%
rename from patches/lede/0030-mvebu-fix-sysupgrade.patch
rename to patches/lede/0028-mvebu-fix-sysupgrade.patch
diff --git a/patches/lede/0031-generic-mtd-backport-unlock-support-and-asserted-fixes-for-certain-Winbond-Spansion-flash-chips.patch b/patches/lede/0029-generic-mtd-backport-unlock-support-and-asserted-fixes-for-certain-Winbond-Spansion-flash-chips.patch
similarity index 100%
rename from patches/lede/0031-generic-mtd-backport-unlock-support-and-asserted-fixes-for-certain-Winbond-Spansion-flash-chips.patch
rename to patches/lede/0029-generic-mtd-backport-unlock-support-and-asserted-fixes-for-certain-Winbond-Spansion-flash-chips.patch
diff --git a/patches/lede/0029-procd-update-to-latest-git-HEAD.patch b/patches/lede/0029-procd-update-to-latest-git-HEAD.patch
deleted file mode 100644
index e9f5eaa502d329ccfbf88a3be0c315d393d04c82..0000000000000000000000000000000000000000
--- a/patches/lede/0029-procd-update-to-latest-git-HEAD.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Matthias Schiffer <mschiffer@universe-factory.net>
-Date: Tue, 30 May 2017 07:29:25 +0200
-Subject: procd: update to latest git HEAD
-
-e7bb2c8 upgraded: define __GNU_SOURCE
-
-Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-
-diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
-index 775b9a64e172b250b3ba27e71fbf07aff46ede14..f9d2f4d34f866a169eb1665ac2699c54422c3c4b 100644
---- a/package/system/procd/Makefile
-+++ b/package/system/procd/Makefile
-@@ -12,9 +12,9 @@ PKG_RELEASE:=1
- 
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
--PKG_SOURCE_DATE:=2017-05-29
--PKG_SOURCE_VERSION:=992b796204caf5b0290ea4a1246b43b353b6c1d7
--PKG_MIRROR_HASH:=effecf66ef6a7396dd26d54a5d232b4a895d9fe7aaca83063aaffc7b39a051d5
-+PKG_SOURCE_DATE:=2017-05-30
-+PKG_SOURCE_VERSION:=e7bb2c8d631862e1535cf6eead18387f02a69ad2
-+PKG_MIRROR_HASH:=97bb96aba2db4730fd8b2edeb15f94e18caa6017d9e50a73777c14532154cade
- CMAKE_INSTALL:=1
- 
- PKG_LICENSE:=GPL-2.0
diff --git a/patches/lede/0032-generic-vxlan-backport-support-for-VXLAN-over-link-local-IPv6.patch b/patches/lede/0030-generic-vxlan-backport-support-for-VXLAN-over-link-local-IPv6.patch
similarity index 100%
rename from patches/lede/0032-generic-vxlan-backport-support-for-VXLAN-over-link-local-IPv6.patch
rename to patches/lede/0030-generic-vxlan-backport-support-for-VXLAN-over-link-local-IPv6.patch
diff --git a/patches/lede/0033-vxlan-add-new-package-for-netifd-VXLAN-proto.patch b/patches/lede/0031-vxlan-add-new-package-for-netifd-VXLAN-proto.patch
similarity index 100%
rename from patches/lede/0033-vxlan-add-new-package-for-netifd-VXLAN-proto.patch
rename to patches/lede/0031-vxlan-add-new-package-for-netifd-VXLAN-proto.patch
diff --git a/patches/lede/0034-busybox-compile-with-debug-information.patch b/patches/lede/0032-busybox-compile-with-debug-information.patch
similarity index 100%
rename from patches/lede/0034-busybox-compile-with-debug-information.patch
rename to patches/lede/0032-busybox-compile-with-debug-information.patch