aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-06-26 20:41:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-06-26 20:41:59 +0000
commitd3ec4c6f75195bf79f15804024036a5eb6c0b94d (patch)
tree1c3c36fd5f358bb19c2b181de417425f68444d82 /target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch
parent19a9284b9a6fd60ac78a129052cc677a39abf3cb (diff)
downloadmaster-187ad058-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.tar.gz
master-187ad058-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.tar.bz2
master-187ad058-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.zip
remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21946 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch')
-rw-r--r--target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch b/target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch
deleted file mode 100644
index 8d836c2ec5..0000000000
--- a/target/linux/brcm-2.4/patches/200-fix_ipv6_receiving_with_ipv4_socket.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/net/ipv4/udp.c 2009-12-26 00:06:59.000000000 +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;