diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-15 01:49:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-15 01:49:28 -0800 |
commit | 2a04cd4c7d41c4549764734dcf5a883d304e3229 (patch) | |
tree | f45b342fb4549da022ca6f92fbfe0e359e6f8b9c /net/appletalk | |
parent | 9fe3b691282691a46abbb25a1e0a8e5f96486d18 (diff) |
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')
-rw-r--r-- | 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 9d4adfd2275..f2b3b56aa77 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; } |