summaryrefslogtreecommitdiffstats
path: root/net/appletalk/aarp.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-01-15 10:49:28 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-15 10:49:28 +0100
commit2a04cd4c7d41c4549764734dcf5a883d304e3229 (patch)
treef45b342fb4549da022ca6f92fbfe0e359e6f8b9c /net/appletalk/aarp.c
parentMAINTAINERS: transfer maintainership of I/OAT (diff)
downloadlinux-2a04cd4c7d41c4549764734dcf5a883d304e3229.tar.xz
linux-2a04cd4c7d41c4549764734dcf5a883d304e3229.zip
appletalk:: da.s_net not copied but assigned to itself in aarp_rcv()
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>
Diffstat (limited to 'net/appletalk/aarp.c')
-rw-r--r--net/appletalk/aarp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c
index 9d4adfd22757..f2b3b56aa779 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;
}