Commit graph

3448 commits

Author SHA1 Message Date
Felix Fietkau
679cab88fe Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn revision, remove obsolete patches.
Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.

Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.

This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

SVN-Revision: 18725
2009-12-09 18:50:49 +00:00
Felix Fietkau
d5d8a225f8 broadcom-wl: add rts/frag threshold settings (patch from #4769)
SVN-Revision: 18720
2009-12-09 17:29:10 +00:00
Felix Fietkau
d431d864b8 mac80211: fix RTS threshold not being set for mac80211 devices
A typo prevented it from working, tested with ar71xx and ath9k.

Signed-off-by: Otto Solares <solca@guug.org>

SVN-Revision: 18719
2009-12-09 17:22:25 +00:00
Felix Fietkau
91a8f2334a add missing argument to debug/mount wrappers (thx, matteo)
SVN-Revision: 18718
2009-12-09 17:13:16 +00:00
Felix Fietkau
889532d1fd do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
SVN-Revision: 18717
2009-12-09 15:15:25 +00:00
Felix Fietkau
74cbcc9ee5 firewall: get rid of recursive shell script inclusion to improve hush compatibility
SVN-Revision: 18716
2009-12-09 14:04:37 +00:00
Felix Fietkau
f1649982e2 functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
SVN-Revision: 18715
2009-12-09 13:36:43 +00:00
Felix Fietkau
9e99581621 adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected
SVN-Revision: 18714
2009-12-09 13:36:39 +00:00
Felix Fietkau
1ab62895f7 iptables: move to 'Network' in menuconfig
SVN-Revision: 18713
2009-12-09 13:36:35 +00:00
Felix Fietkau
77c391b8b1 busybox: adjust hush default configuration
SVN-Revision: 18712
2009-12-09 13:36:28 +00:00
Jo-Philipp Wich
cc7827d993 iptables: bump pkg revision
SVN-Revision: 18707
2009-12-08 20:53:27 +00:00
Jo-Philipp Wich
e830181f47 iptables: add comment match to the core package
SVN-Revision: 18706
2009-12-08 20:52:58 +00:00
Felix Fietkau
4ab57b9e0f fix firmware loading broken by the busybox upgrade
SVN-Revision: 18705
2009-12-08 20:04:38 +00:00
John Crispin
d2dbb42387 make uboot work on arcaydian board
SVN-Revision: 18700
2009-12-08 14:37:12 +00:00
Florian Fainelli
6a4814517f package nls cp866 support (#6281)
SVN-Revision: 18690
2009-12-07 23:59:06 +00:00
Florian Fainelli
6b306ba7b8 update busybox to 1.15.2 (#5926)
SVN-Revision: 18684
2009-12-07 16:56:04 +00:00
Felix Fietkau
6cdf436893 mac80211: update to compat-wireless 2009-12-05 and fix a critical bug in ath9k tx status reporting
SVN-Revision: 18666
2009-12-05 17:12:56 +00:00
Felix Fietkau
fee32f227e mac80211: set the country code through iw reg, setting it only through hostapd apparently does not work
SVN-Revision: 18665
2009-12-05 17:12:51 +00:00
Jo-Philipp Wich
af947d5c89 mac80211: fix a shell syntax error
SVN-Revision: 18664
2009-12-05 15:11:47 +00:00
Jo-Philipp Wich
37758a2672 wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes
SVN-Revision: 18663
2009-12-05 15:09:20 +00:00
Jo-Philipp Wich
6da667f886 mac80211: fix wpa handling in sta mode
SVN-Revision: 18662
2009-12-05 15:08:25 +00:00
Florian Fainelli
03ca3bf5bb allow building hostap-driver and its dependencies on 2.6.32 (#6305)
SVN-Revision: 18658
2009-12-05 12:54:30 +00:00
Florian Fainelli
6891ad6ef6 CONFIG_RFKILL_INPUT is a boolean
SVN-Revision: 18634
2009-12-04 14:52:41 +00:00
Florian Fainelli
e154e4361b prevent madwifi from being compiled on sibyte
SVN-Revision: 18631
2009-12-04 14:52:30 +00:00
Hamish Guthrie
40f51884ed kmod-sound-ps3: Modified target dependencies
SVN-Revision: 18629
2009-12-04 12:18:01 +00:00
Felix Fietkau
86bfe0a701 mac80211: rename autogenerated wifi-device sections from wifi* to radio* to prevent conflicts with madwifi interface naming
SVN-Revision: 18627
2009-12-03 18:35:31 +00:00
Felix Fietkau
9e6c05a20d ath9k: disable interrupt mitigation - it hurts performance on embedded systems
SVN-Revision: 18626
2009-12-03 18:35:26 +00:00
Jo-Philipp Wich
6cb040903b firewall: initialize dest_port with src_dport if omitted in redirect sections to narrow down corresponding forward rules to the actual target ports - thanks Niels Boehm! (#6249)
SVN-Revision: 18617
2009-12-01 22:31:10 +00:00
Florian Fainelli
a263714936 fix p54usb firmware installation (#6260)
SVN-Revision: 18615
2009-11-30 21:26:12 +00:00
Felix Fietkau
4ca03b54ee hostapd: update to latest git, fixes ampdu settings in the beacon HT IE
SVN-Revision: 18606
2009-11-29 16:56:38 +00:00
Felix Fietkau
7e3d67e546 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
SVN-Revision: 18602
2009-11-29 14:13:47 +00:00
Felix Fietkau
7d599ee46c mac80211: fix up wds sta mode after r18591
SVN-Revision: 18600
2009-11-29 13:56:41 +00:00
Florian Fainelli
8ba061b3cf prevent some modules from being built on ubicom32 since they do not compile or link
SVN-Revision: 18595
2009-11-29 00:33:32 +00:00
Hauke Mehrtens
7fac6dd17f Update regulatory database to version 2009.11.25
SVN-Revision: 18592
2009-11-28 23:16:40 +00:00
Hauke Mehrtens
a9241174f5 Update iw to version 0.9.18
The deleted patches went upstream.

SVN-Revision: 18591
2009-11-28 23:16:11 +00:00
Gabor Juhos
becedde3f1 mac80211: use mac address from platform data if present on ath9k
SVN-Revision: 18584
2009-11-28 18:01:03 +00:00
Gabor Juhos
756b6fdbf3 mac80211: fix detection of multiple mac80211 devices
SVN-Revision: 18583
2009-11-28 18:00:59 +00:00
Gabor Juhos
ff7c793af5 mac80211: remove trailing whitespaces in mac80211.sh
SVN-Revision: 18582
2009-11-28 18:00:53 +00:00
Florian Fainelli
ef499299ea update p54usb firmware to 2.13.24.0.lm87.arm (#6177, #6237)
SVN-Revision: 18580
2009-11-28 14:25:41 +00:00
Gabor Juhos
1104a67439 mac80211: fix default channel selection in mac80211.sh (thanks to blubberdiblub)
SVN-Revision: 18577
2009-11-28 13:49:14 +00:00
Gabor Juhos
7ce91a64f0 mac80211: fix a typo in the mac80211.sh
SVN-Revision: 18567
2009-11-27 21:21:28 +00:00
Gabor Juhos
fee0ea3ba8 mac80211: update ath9k patch
SVN-Revision: 18563
2009-11-27 21:21:14 +00:00
Gabor Juhos
05c8eef651 mac80211: select channel 36 by default on 5GHz only devices
SVN-Revision: 18562
2009-11-27 21:21:10 +00:00
Florian Fainelli
4ac3fb8e45 libuuid needs to be compiled with fPIC/pic.
SVN-Revision: 18542
2009-11-26 16:05:20 +00:00
Markus Wigge
c05ba34ba7 new upstream release 2.51 with some fixes, see http://www.thekelleys.org.uk/dnsmasq/CHANGELOG refreshed patches for new release
SVN-Revision: 18541
2009-11-26 10:58:01 +00:00
Gabor Juhos
5838c83c1f package/mac80211: disable 2GHz band for 5GHz only devices
SVN-Revision: 18537
2009-11-25 20:35:58 +00:00
Florian Fainelli
2937618dd9 prevent busybox's ping6 from crashing (#4604)
SVN-Revision: 18528
2009-11-24 22:13:19 +00:00
Felix Fietkau
cafe76e103 ath: only use GFP_DMA on ixp4xx
SVN-Revision: 18525
2009-11-24 13:55:37 +00:00
Hamish Guthrie
e1a2e7037f kmod-sound-core: Add new 2.6.32 kernel config option
SVN-Revision: 18523
2009-11-24 10:39:31 +00:00
Florian Fainelli
0fb52dee86 downgrade e2fsprogs to 1.40.11 which does not segfault until we fix the issue (#6073)
SVN-Revision: 18517
2009-11-23 23:53:23 +00:00