Skip to contentSkip to conversation

systemd: remove upstreamed networkd patches

PATCH New Denys Dmytriyenko 1 participant 1 message Oct 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: remove upstreamed networkd patches

systemd version in master is 234 now.

---
 ...emd-network-ipv4ll-probe-conflict-counter.patch |   48 ----------------
 ...network-sd-ipv4ll-Wrapper-to-restart-addr.patch |   53 ------------------
 ...network-sd-ipv4ll-acquire-new-address-aft.patch |   59 --------------------
 .../recipes-core/systemd/systemd_%.bbappend        |    5 +-
 4 files changed, 1 insertion(+), 164 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-core/systemd/systemd/0001-libsystemd-network-ipv4ll-probe-conflict-counter.patch
 delete mode 100644 meta-arago-distro/recipes-core/systemd/systemd/0002-libsystemd-network-sd-ipv4ll-Wrapper-to-restart-addr.patch
 delete mode 100644 meta-arago-distro/recipes-core/systemd/systemd/0003-libsystemd-network-sd-ipv4ll-acquire-new-address-aft.patch
meta-arago-distro/recipes-core/systemd/systemd/0001-libsystemd-network-ipv4ll-probe-conflict-counter.patch deleted +0 -48
deleted file mode 100644
index c92e662..0000000
@@ -1,48 +0,0 @@
-From 76f4df1e95b57746094a1b91c38cd4770f2396cc Mon Sep 17 00:00:00 2001
-From: Jason Reeder <[email protected]>
-Date: Thu, 11 May 2017 13:44:52 -0500
-Subject: [PATCH 1/3] libsystemd-network: ipv4ll probe conflict counter
-
-A bug exists where the conflict counter is cleared
-regardless of whether or not the next probe attempt leads to
-a successful address acquisition. This causes 'bursts' of
-MAX_CONFLICTS probes followed by a delay of
-RATE_LIMIT_INTERVAL instead of a single probe each
-RATE_LIMIT_INTERVAL when beyond MAX_CONFLICTS.
-
-The conflict counter should only be cleared after an
-address is successfully acquired. This commit achieves that
-goal.
-
-From RFC3927:
-A host should maintain a counter of the number of address
-conflicts it has experienced in the process of trying to
-acquire an address, and if the number of conflicts exceeds
-MAX_CONFLICTS then the host MUST limit the rate at which it
-probes for new addresses to no more than one new address per
-RATE_LIMIT_INTERVAL.  This is to prevent catastrophic ARP
-storms in pathological failure cases, such as a rogue host
-that answers all ARP probes, causing legitimate hosts to go
-into an infinite loop attempting to select a usable address.
-
-Signed-off-by: Jason Reeder <[email protected]>
----
- src/libsystemd-network/sd-ipv4acd.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/libsystemd-network/sd-ipv4acd.c b/src/libsystemd-network/sd-ipv4acd.c
-index 4dd343c..2ebc00f 100644
---- a/src/libsystemd-network/sd-ipv4acd.c
-+++ b/src/libsystemd-network/sd-ipv4acd.c
-@@ -242,8 +242,6 @@ static int ipv4acd_on_timeout(sd_event_source *s, uint64_t usec, void *userdata)
-                         r = ipv4acd_set_next_wakeup(acd, RATE_LIMIT_INTERVAL_USEC, PROBE_WAIT_USEC);
-                         if (r < 0)
-                                 goto fail;
--
--                        acd->n_conflict = 0;
-                 } else {
-                         r = ipv4acd_set_next_wakeup(acd, 0, PROBE_WAIT_USEC);
-                         if (r < 0)
--- 
-1.9.1
-
meta-arago-distro/recipes-core/systemd/systemd/0002-libsystemd-network-sd-ipv4ll-Wrapper-to-restart-addr.patch deleted +0 -53

53 lines not on this page · raw message

meta-arago-distro/recipes-core/systemd/systemd/0003-libsystemd-network-sd-ipv4ll-acquire-new-address-aft.patch deleted +0 -59

59 lines not on this page · raw message

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend +1 -4
index 7f2ffb6..f6cb954 100644
@@ -1,4 +1,4 @@
-PR_append = ".arago4"
+PR_append = ".arago5"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
@@ -14,9 +14,6 @@ SRC_URI_append = " \
     file://30-wlan.network \
     file://60-usb.network \
     file://sync-clocks.service \
-    file://0001-libsystemd-network-ipv4ll-probe-conflict-counter.patch \
-    file://0002-libsystemd-network-sd-ipv4ll-Wrapper-to-restart-addr.patch \
-    file://0003-libsystemd-network-sd-ipv4ll-acquire-new-address-aft.patch \
 "
 
 do_install_append() {
Signature · 1 line
1.7.9.5