Commit Graph

15632 Commits (28768ae875427fe22314a603aa37fb6cd5650873)

Author SHA1 Message Date
Felix Fietkau 2ee3482123 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 18:50:49 +00:00
Felix Fietkau b259d8401e broadcom-wl: add rts/frag threshold settings (patch from #4769)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:29:10 +00:00
Felix Fietkau 12c45dea86 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:22:25 +00:00
Felix Fietkau c2804524cf add missing argument to debug/mount wrappers (thx, matteo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:13:16 +00:00
Felix Fietkau bede0a2b45 do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 15:15:25 +00:00
Felix Fietkau 4476454249 firewall: get rid of recursive shell script inclusion to improve hush compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 14:04:37 +00:00
Felix Fietkau f922e0d01c functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:43 +00:00
Felix Fietkau b561f00181 adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:39 +00:00
Felix Fietkau ab31be36b5 iptables: move to 'Network' in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:35 +00:00
Felix Fietkau e09a8a5293 busybox: adjust hush default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:28 +00:00
Gabor Juhos 450f8c7355 ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 08:03:35 +00:00
Gabor Juhos 634b355d3c ar71xx: register rtl8366-smi device on the DIR-825 B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 08:03:31 +00:00
Felix Fietkau d8dc22afd6 rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 03:25:33 +00:00
Jo-Philipp Wich 99b375d8e1 [ar71xx] fix default network config after r18699
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 22:22:16 +00:00
Jo-Philipp Wich b068068db4 [package] iptables: bump pkg revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 20:53:27 +00:00
Jo-Philipp Wich fd7b3cd30d [package] iptables: add comment match to the core package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 20:52:58 +00:00
Felix Fietkau 3b13a0866d fix firmware loading broken by the busybox upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 20:04:38 +00:00
John Crispin d96aa63db6 ifxmips: add CONFIG_SQUASHFS_SUPPORT_LZMA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:38:17 +00:00
John Crispin edaad88c34 make uboot work on arcaydian board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:37:12 +00:00
Felix Fietkau fec8e48603 ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:06:18 +00:00
Felix Fietkau 5232331c98 fix link status detection in various switch drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:06:09 +00:00
Gabor Juhos 9828d89496 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
Gabor Juhos 00c14fd865 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
Gabor Juhos 65ffc1bc61 ar71xx: register rtl8366_smi device on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:37 +00:00
Gabor Juhos 468bef06f3 ar71xx: add mdio bus driver for the rtl8366 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:35 +00:00
Gabor Juhos be4403aa0d ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:30 +00:00
Gabor Juhos 5504bc6629 ar71xx: add support for external mii_bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:27 +00:00
Gabor Juhos 0346ad9467 ar71xx: move phy_connect call to ag71xx_open
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:19 +00:00
Florian Fainelli 7bba645a8a [package] package nls cp866 support (#6281)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 23:59:06 +00:00
Florian Fainelli 2469eb1820 [package] update busybox to 1.15.2 (#5926)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 16:56:04 +00:00
Florian Fainelli 0282f74829 [uml] update README after r18624
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 16:56:00 +00:00
Florian Fainelli 4cf229f377 [rdc] make mkimg_sitecom.pl executable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 16:55:33 +00:00
Lars-Peter Clausen 08db9a12d2 [s3c24xx] Remove 2.6.31 support.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 10:13:32 +00:00
Florian Fainelli 90b91c76ab [x86] add rootwait option to the kernel command line (#6209)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-06 09:12:34 +00:00
Florian Fainelli e4b952e89d [rdc] correct flash size and detection for sitecom targets (#6278), patch from rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-06 09:08:03 +00:00
Florian Fainelli 2d61e6cb21 [rdc] simplify sitecom image generation with a script, patch from rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-06 09:07:58 +00:00
Florian Fainelli 9814f17c59 [rdc] fix the handling of MAC addresses with r6040, patch from rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-06 09:07:53 +00:00
Felix Fietkau 3121231134 mac80211: update to compat-wireless 2009-12-05 and fix a critical bug in ath9k tx status reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 17:12:56 +00:00
Felix Fietkau 2b3a751a63 mac80211: set the country code through iw reg, setting it only through hostapd apparently does not work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 17:12:51 +00:00
Jo-Philipp Wich 92c4f4c6fb [package] mac80211: fix a shell syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 15:11:47 +00:00
Jo-Philipp Wich 0699d7b3fd [package] wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 15:09:20 +00:00
Jo-Philipp Wich accf71c9a4 [package] mac80211: fix wpa handling in sta mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 15:08:25 +00:00
Florian Fainelli 3a5f494076 [package] allow building hostap-driver and its dependencies on 2.6.32 (#6305)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 12:54:30 +00:00
Jo-Philipp Wich 06f69358e6 [brcm-2.4] fix typo in switch config migration script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 12:39:28 +00:00
Felix Fietkau a397e55ad7 oops, forgot one small change in the last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 22:18:36 +00:00
Felix Fietkau 22857c733c remove the redundant subdirectory from the packages directory variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 22:17:26 +00:00
Gabor Juhos 34a28b3437 ar71xx: experimental 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 20:27:03 +00:00
Gabor Juhos ba3154ad34 kernel: fix swconfig for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 20:26:59 +00:00
Gabor Juhos d9fde639de kernel: add md5sum for 2.6.32 final, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 20:26:55 +00:00
Florian Fainelli 2de49087ef [kernel] update to 2.6.30, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 14:52:45 +00:00