nbd
09fc3a65d9
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
nbd
3464004b2e
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
nbd
7406bafce9
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
nbd
3982cd8ffe
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
nbd
daa59b7513
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
nbd
6b2e482b31
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
nbd
8f027803a0
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
nbd
3f21f09b7c
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
nbd
b5650f6d14
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
nbd
d253bed345
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
juhosg
5aefad6b53
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
juhosg
881c9d9250
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
nbd
00ebe9d87a
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
jow
5ec38ae28d
[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
jow
4aa6904aaf
[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
jow
38155e5737
[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
nbd
5d481506b4
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
blogic
2c6c36d49a
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
blogic
940b26969e
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
nbd
1b18fb38dc
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
nbd
b9c2e351d5
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
juhosg
2417cf6791
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
juhosg
bfbc6bd89d
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
juhosg
325aeaa715
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
juhosg
bfa2f874b9
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
juhosg
67c4686a28
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
juhosg
5608c597c3
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
juhosg
1fec1f6c54
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
5adbeaeb6f
[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
a656395fe8
[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
a5faf3b2f2
[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
87db37af8e
[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
09c77afbdd
[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
50aa8c3901
[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
03bb3c7706
[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
8c7e9123b4
[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
5ee876b97b
[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
nbd
7b359d21c6
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
nbd
2ec93f271b
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
jow
b546af4c21
[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
jow
8b4fd8541e
[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
jow
a4827cab1f
[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
0f5ab576f2
[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
jow
8ea05ffd2b
[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
nbd
a1ca4142c7
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
nbd
b4ebf55c19
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
juhosg
7240ca9161
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
juhosg
a5952e83e7
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
juhosg
73fec548e6
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
7a42d31127
[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