summaryrefslogtreecommitdiff
path: root/recipes-core/busybox/files/ifplugd.patch
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-04 14:23:47 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-04 14:23:47 -0500
commit2fc1c8f4367fa674940f64927252fd6349a2d63b (patch)
treeeb08d052d64d0814ea1cfc75664b64be68eaffbb /recipes-core/busybox/files/ifplugd.patch
parente26f94e3f97b755652327f5652ea32f9ebf2b57b (diff)
parente919ef1e33c2cb56856cdbd22792a3bc3f36341d (diff)
downloadmeta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.tar.gz
meta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.tar.bz2
meta-mlinux-atmel-2fc1c8f4367fa674940f64927252fd6349a2d63b.zip
Merge branch 'test-split' into 'master'
Test split See merge request !1
Diffstat (limited to 'recipes-core/busybox/files/ifplugd.patch')
-rw-r--r--recipes-core/busybox/files/ifplugd.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/recipes-core/busybox/files/ifplugd.patch b/recipes-core/busybox/files/ifplugd.patch
deleted file mode 100644
index 839a8a2..0000000
--- a/recipes-core/busybox/files/ifplugd.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# This patch is found here:
-# http://lists.busybox.net/pipermail/busybox/2018-March/086328.html
-# Basically ifplugd will not stay up if the driver is loading.
-# This is particularly apparent with gadget.
-diff -arNu a/networking/ifplugd.c b/networking/ifplugd.c
---- a/networking/ifplugd.c 2019-05-28 18:11:43.836982315 -0500
-+++ b/networking/ifplugd.c 2019-05-28 18:13:13.088979672 -0500
-@@ -358,8 +358,10 @@
- ifrequest.ifr_flags |= IFF_UP;
- /* Let user know we mess up with interface */
- bb_error_msg("upping interface");
-- if (network_ioctl(SIOCSIFFLAGS, &ifrequest, "setting interface flags") < 0)
-+ if (network_ioctl(SIOCSIFFLAGS, &ifrequest, "setting interface flags") < 0) {
-+ if (errno != ENODEV && errno != EADDRNOTAVAIL)
- xfunc_die();
-+ }
- }
-
- #if 0 /* why do we mess with IP addr? It's not our business */