Commit Graph

12967 Commits (d8bd549d717f702d2c71b12a24fbdf307f19a2f6)

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
Gabor Juhos e35c8c6dc5 ar71xx: sync kernel configs
SVN-Revision: 18711
2009-12-09 08:03:35 +00:00
Gabor Juhos 2b988fa855 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
SVN-Revision: 18710
2009-12-09 08:03:31 +00:00
Felix Fietkau 2bff4bf4e5 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
SVN-Revision: 18709
2009-12-09 03:25:33 +00:00
Jo-Philipp Wich e0042b55ea fix default network config after r18699
SVN-Revision: 18708
2009-12-08 22:22:16 +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 cc5994a452 ifxmips: add CONFIG_SQUASHFS_SUPPORT_LZMA
SVN-Revision: 18701
2009-12-08 14:38:17 +00:00
John Crispin d2dbb42387 make uboot work on arcaydian board
SVN-Revision: 18700
2009-12-08 14:37:12 +00:00
Felix Fietkau ddc2e2270b ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
2009-12-08 14:06:18 +00:00
Felix Fietkau df35ee622f fix link status detection in various switch drivers
SVN-Revision: 18698
2009-12-08 14:06:09 +00:00
Gabor Juhos 7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos b12d752a63 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>

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos 63d8f159db ar71xx: register rtl8366_smi device on the WNDR3700
SVN-Revision: 18695
2009-12-08 10:29:37 +00:00
Gabor Juhos cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
2009-12-08 10:29:35 +00:00
Gabor Juhos 5c7ee7f039 ar71xx: refresh patches
SVN-Revision: 18693
2009-12-08 10:29:30 +00:00
Gabor Juhos 18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos 0e79007faf ar71xx: move phy_connect call to ag71xx_open
SVN-Revision: 18691
2009-12-08 10:29:19 +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
Florian Fainelli a653c7602e update README after r18624
SVN-Revision: 18683
2009-12-07 16:56:00 +00:00
Florian Fainelli 896d205346 make mkimg_sitecom.pl executable
SVN-Revision: 18682
2009-12-07 16:55:33 +00:00
Lars-Peter Clausen 6a2ea35b79 Remove 2.6.31 support.
SVN-Revision: 18673
2009-12-07 10:13:32 +00:00
Florian Fainelli a155e4fd53 add rootwait option to the kernel command line (#6209)
SVN-Revision: 18672
2009-12-06 09:12:34 +00:00
Florian Fainelli 8c2091f823 correct flash size and detection for sitecom targets (#6278), patch from rtz
SVN-Revision: 18671
2009-12-06 09:08:03 +00:00
Florian Fainelli ece1801c1f simplify sitecom image generation with a script, patch from rtz
SVN-Revision: 18670
2009-12-06 09:07:58 +00:00
Florian Fainelli eb82e0d7a1 fix the handling of MAC addresses with r6040, patch from rtz
SVN-Revision: 18669
2009-12-06 09:07:53 +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
Jo-Philipp Wich d55e721178 fix typo in switch config migration script
SVN-Revision: 18657
2009-12-05 12:39:28 +00:00
Felix Fietkau 6c57203836 oops, forgot one small change in the last commit
SVN-Revision: 18640
2009-12-04 22:18:36 +00:00
Felix Fietkau b647c168de remove the redundant subdirectory from the packages directory variable
SVN-Revision: 18639
2009-12-04 22:17:26 +00:00
Gabor Juhos 9bb13d59d9 ar71xx: experimental 2.6.32 support
SVN-Revision: 18638
2009-12-04 20:27:03 +00:00
Gabor Juhos 3184772820 kernel: fix swconfig for 2.6.32
SVN-Revision: 18637
2009-12-04 20:26:59 +00:00
Gabor Juhos 1b04095cb2 kernel: add md5sum for 2.6.32 final, and refresh patches
SVN-Revision: 18636
2009-12-04 20:26:55 +00:00
Florian Fainelli a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00