busybox: fix: ip addr flush hangs when run by non-root user
authorMikael Magnusson <mikma@users.sourceforge.net>
Mon, 27 May 2019 20:48:10 +0000 (22:48 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 28 May 2019 11:18:58 +0000 (13:18 +0200)
commit8128a7e4fc2d83ed3e20fdb2ad868b1dedd2be4e
tree2346a388558e1b3397517f7e52d25f550f747fd0
parentb97d44af670e7d9113acc7ba627495411b33cbb8
busybox: fix: ip addr flush hangs when run by non-root user

Add upstream patch from:
https://git.busybox.net/busybox/commit/?id=028c5aa18b5273c029f0278232d922ee1a164de6

The patch fixes a problem with an infinite loop causing 100% CPU usage
when running the following command /lib/preinit/10_indicate_preinit
without the CAP_NET_ADMIN capability (such as in Docker):
  ip -4 address flush dev $pi_ifname

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patch]
package/utils/busybox/Makefile
package/utils/busybox/patches/530-ip-use-rtnl_send_check-on-flush-commands.patch [new file with mode: 0644]