[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660902: linux-image-2.6-amd64: netatalk/afpd glitch with Linux 2.6.32



On Wed, 2012-02-22 at 13:26 -0500, Mason Loring Bliss wrote:
> Package: linux-image-2.6-amd64
> Version: 2.6.32+29
> Severity: critical
> Justification: breaks unrelated software

No, anything you run on top of the kernel is related to it.

> With Linux 2.6.32 as supplied with Debian Squeeze, Netatalk is unable
> to thrive. Connections made to afpd will open, but attempting to transfer
> files will take a very long time and/or eventually time out.
> 
> I've noted this with both Netatalk as supplied with Squeeze and with
> Netatalk 2.2.1 built from the Wheezy source package, which I evidently
> need for AFP 3 support.
> 
> Installing Linux 3.2 from backports, with no other changes to the system,
> allows afpd to work correctly. I hit on the idea of trying this after
> installing a Fedora 16 system to compare performance and to try to isolate
> the issue. Fedora 16 uses a newer kernel.
> 
> As it stands, Netatalk is unusable in Squeeze without a newer kernel. I
> assume this to be an issue with the kernel that can be addressed and
> corrected for the next minor release, and I'd be happy to help try to
> isolate it and test any correction that's devised.

Well I can only see two bug fixes to Appletalk between those kernel
versions.  Can you try the attached patch?

<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official> explains how to rebuild official kernel packages, though you could also build a custom kernel (explained further down that page).

Ben.

-- 
Ben Hutchings
Q.  Which is the greater problem in the world today, ignorance or apathy?
A.  I don't know and I couldn't care less.
From: Roel Kluin <roel.kluin@gmail.com>
Date: Fri, 15 Jan 2010 01:49:28 -0800
Subject: [PATCH] appletalk:: da.s_net not copied but assigned to itself in
 aarp_rcv()

commit 2a04cd4c7d41c4549764734dcf5a883d304e3229 upstream.

da.s_net was not copied but assigned to itself.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/appletalk/aarp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c
index 9d4adfd..f2b3b56 100644
--- a/net/appletalk/aarp.c
+++ b/net/appletalk/aarp.c
@@ -819,7 +819,7 @@ static int aarp_rcv(struct sk_buff *skb, struct net_device *dev,
 				ma = &ifa->address;
 			else { /* We need to make a copy of the entry. */
 				da.s_node = sa.s_node;
-				da.s_net = da.s_net;
+				da.s_net = sa.s_net;
 				ma = &da;
 			}
 
-- 
1.7.9.1

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: