Patchwork arptables: needs mmu

login
register
mail settings
Submitter Gustavo Zacarias
Date Nov. 22, 2012, 9:46 a.m.
Message ID <1353577595-23602-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/201030/
State Accepted
Commit 8fd455921296751f142c655b013f602a6522fa8d
Headers show

Comments

Gustavo Zacarias - Nov. 22, 2012, 9:46 a.m.
arptables uses fork() and breaks on !mmu.
Fixes
http://autobuild.buildroot.net/results/fe18dd4a0b0d17404560abf3e4a332b58751f5cb/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/arptables/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Peter Korsgaard - Nov. 23, 2012, 8:56 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> arptables uses fork() and breaks on !mmu.
 Gustavo> Fixes
 Gustavo> http://autobuild.buildroot.net/results/fe18dd4a0b0d17404560abf3e4a332b58751f5cb/

Committed, thanks.

Patch

diff --git a/package/arptables/Config.in b/package/arptables/Config.in
index 510eedf..414fabb 100644
--- a/package/arptables/Config.in
+++ b/package/arptables/Config.in
@@ -1,5 +1,7 @@ 
 config BR2_PACKAGE_ARPTABLES
 	bool "arptables"
+	# needs fork()
+	depends on BR2_USE_MMU
 	help
 	  Tool to set up, maintain, and inspect the tables of ARP rules.