[OpenWrt-Devel] [PATCH] Fix IPv6 receiving with an IPv4 socket
This fixes this strange bug in the 2.4 kernel. Signed-off-by: Alina Friedrichsen Index: target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch === --- target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch (Revision 0) +++ target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch (Revision 0) @@ -0,0 +1,18 @@ +--- a/net/ipv4/udp.c 2009-12-26 00:06:59.0 +0100 b/net/ipv4/udp.c 2009-12-27 00:27:05.003012266 +0100 +@@ -711,7 +711,14 @@ + skb = skb_recv_datagram(sk, flags, noblock, &err); + if (!skb) + goto out; +- ++ ++ if (skb->nh.iph->version != 4) { ++ skb_free_datagram(sk, skb); ++ if (noblock) ++ return -EAGAIN; ++ goto try_again; ++ } ++ + copied = skb->len - sizeof(struct udphdr); + if (copied > len) { + copied = len; ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] wifi down hangs br-lan
When I type "wifi down" sometimes the br-lan(ethernet switch) stops for around 10s. That usually only happens the first time wifi is disabled after reboot. On the IRC channel, BlackBishop told that it's stuck at "vconfig add eth0 0". Regards, -- \ Nuno Gonçalves / \ Bugs? Features! / \ nuno...@gmail.com / PORTUGAL ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Commits] r18935 - in tru nk/package/mac80211: . files/host_bin
On Saturday 26 December 2009 16:58:51 Hauke Mehrtens wrote: > > Why do we remove pcm4? > pcm4.fw is never loaded by the b43 driver. There is no reverence to this > file in the driver source and the new fwcutter version does not extract > it any more out of the firmware for b43 driver. Why should it still be > in this list, if there is no way to load it? Well, whether it is in this _list_ does not affect whether it's in the _image_ or not. The pcm4 won't appear in the image, unless you also specify core revs <=4 in the config. Currently only revs >=5 are the default config. > It makes only sense when > using the b43-fwsquash.py script also for b43legacy. Yeah. Exactly. I think there might be people that also want to use squashing for b43legacy, especially because these devices tend to have very small flash. -- Greetings, Michael. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Commits] r18935 - in trunk/package/mac80211: . files/host_bin
Michael Buesch wrote: > On Saturday 26 December 2009 02:06:36 openwrt-comm...@openwrt.org wrote: >> Author: hauke >> Date: 2009-12-26 02:06:36 +0100 (Sat, 26 Dec 2009) >> New Revision: 18935 >> >> Modified: >>trunk/package/mac80211/Config.in.b43 >>trunk/package/mac80211/files/host_bin/b43-fwsquash.py >> Log: >> [mac80211] b43: Add L-PHY firemware files to squash script >> >> Use firmware 4.178.10.4 as default on. >> Select firmware for all supported phy types and version as default. >> >> Close ticket #5978 > > >> @@ -65,7 +66,7 @@ >> config B43_FW_SQUASH_PHYTYPES >> string "PHY types to include" >> depends on PACKAGE_kmod-b43 && B43_FW_SQUASH >> -default "G,LP,N" >> +default "A,AG,G,LP" > > Well, why remove N and add A? They are both unsupported. :) I have not read so clearly through the driver source. If A and AG are not supported they should not be in the default list. >> Modified: trunk/package/mac80211/files/host_bin/b43-fwsquash.py >> === >> --- trunk/package/mac80211/files/host_bin/b43-fwsquash.py2009-12-26 >> 00:23:35 UTC (rev 18934) >> +++ trunk/package/mac80211/files/host_bin/b43-fwsquash.py2009-12-26 >> 01:06:36 UTC (rev 18935) >> @@ -65,7 +65,8 @@ >> "ucode5.fw" : (5,6,7,8,9,10,), >> "ucode11.fw": (11,12,), >> "ucode13.fw": (13,), >> -"pcm4.fw" : (1,2,3,4,), >> +"ucode14.fw": (14,), >> +"ucode15.fw": (15,), >> "pcm5.fw" : (5,6,7,8,9,10,), >> } > > Why do we remove pcm4? pcm4.fw is never loaded by the b43 driver. There is no reverence to this file in the driver source and the new fwcutter version does not extract it any more out of the firmware for b43 driver. Why should it still be in this list, if there is no way to load it? It makes only sense when using the b43-fwsquash.py script also for b43legacy. Hauke signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] ping on patches for pptpd and iptables
these patches are unanswered/pending bump pptpd to 1.3.4, minor fixes https://lists.openwrt.org/pipermail/openwrt-devel/2009-December/005409.html bump iptables to 1.4.6 https://lists.openwrt.org/pipermail/openwrt-devel/2009-December/005423.html regards ede ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Commits] r18935 - in trunk/package/mac80211: . files/host_bin
On Saturday 26 December 2009 02:06:36 openwrt-comm...@openwrt.org wrote: > Author: hauke > Date: 2009-12-26 02:06:36 +0100 (Sat, 26 Dec 2009) > New Revision: 18935 > > Modified: >trunk/package/mac80211/Config.in.b43 >trunk/package/mac80211/files/host_bin/b43-fwsquash.py > Log: > [mac80211] b43: Add L-PHY firemware files to squash script > > Use firmware 4.178.10.4 as default on. > Select firmware for all supported phy types and version as default. > > Close ticket #5978 > @@ -65,7 +66,7 @@ > config B43_FW_SQUASH_PHYTYPES > string "PHY types to include" > depends on PACKAGE_kmod-b43 && B43_FW_SQUASH > - default "G,LP,N" > + default "A,AG,G,LP" Well, why remove N and add A? They are both unsupported. :) > Modified: trunk/package/mac80211/files/host_bin/b43-fwsquash.py > === > --- trunk/package/mac80211/files/host_bin/b43-fwsquash.py 2009-12-26 > 00:23:35 UTC (rev 18934) > +++ trunk/package/mac80211/files/host_bin/b43-fwsquash.py 2009-12-26 > 01:06:36 UTC (rev 18935) > @@ -65,7 +65,8 @@ > "ucode5.fw" : (5,6,7,8,9,10,), > "ucode11.fw": (11,12,), > "ucode13.fw": (13,), > - "pcm4.fw" : (1,2,3,4,), > + "ucode14.fw": (14,), > + "ucode15.fw": (15,), > "pcm5.fw" : (5,6,7,8,9,10,), > } Why do we remove pcm4? -- Greetings, Michael. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] dnsmasq: add domain to local resolv.conf
Currently, the local resolv.conf only contains name server settings, but no search domains. If specified by the dh...@dnsmasq[0].domain option, add the domain name as a search domain to the local resolv.conf. Signed-off-by: Stefan Bethke Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 18935) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -309,6 +309,7 @@ /usr/sbin/dnsmasq $args && { rm -f /tmp/resolv.conf + [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf DNS_SERVERS="$DNS_SERVERS 127.0.0.1" for DNS_SERVER in $DNS_SERVERS ; do echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf -- Stefan BethkeFon +49 151 14070811 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel