rpms/kernel/FC-4 linux-2.6-net-zero-len-packet-rx.patch, NONE, 1.1 kernel-2.6.spec, 1.1484, 1.1485
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Nov 3 22:58:46 UTC 2005
Author: davej
Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv9888
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-net-zero-len-packet-rx.patch
Log Message:
fix zero-length packet reception
linux-2.6-net-zero-len-packet-rx.patch:
datagram.c | 4 ++++
1 files changed, 4 insertions(+)
--- NEW FILE linux-2.6-net-zero-len-packet-rx.patch ---
diff --git a/net/core/datagram.c b/net/core/datagram.c
--- a/net/core/datagram.c
+++ b/net/core/datagram.c
@@ -213,6 +213,10 @@ int skb_copy_datagram_iovec(const struct
{
int i, err, fraglen, end = 0;
struct sk_buff *next = skb_shinfo(skb)->frag_list;
+
+ if (!len)
+ return 0;
+
next_skb:
fraglen = skb_headlen(skb);
i = -1;
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v
retrieving revision 1.1484
retrieving revision 1.1485
diff -u -r1.1484 -r1.1485
--- kernel-2.6.spec 29 Oct 2005 06:44:09 -0000 1.1484
+++ kernel-2.6.spec 3 Nov 2005 22:58:40 -0000 1.1485
@@ -334,6 +334,7 @@
Patch1756: linux-2.6-net-sk98lin-vpd.patch
Patch1757: linux-2.6-w1-hush-debug.patch
Patch1758: linux-2.6-pwc-powerup-by-default.patch
+Patch1759: linux-2.6-net-zero-len-packet-rx.patch
# ACPI patches.
Patch1800: linux-2.6-acpi-enable-ecburst.patch
@@ -756,6 +757,8 @@
%patch1757 -p1
# power up pwc cameras by default
%patch1758 -p1
+# Fix zero-length packet reception
+%patch1759 -p1
# ACPI patches.
# Enable EC burst
@@ -1211,6 +1214,9 @@
%endif
%changelog
+* Thu Nov 3 2005 Dave Jones <davej at redhat.com>
+- Fix zero-length packet reception, which broke bind.
+
* Sat Oct 29 2005 Dave Jones <davej at redhat.com>
- Disable deprecation warning in PCMCIA ioctl.
More information about the fedora-cvs-commits
mailing list