Skip to content

Commit

Permalink
appletalk:: da.s_net not copied but assigned to itself in aarp_rcv()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RoelKluin authored and davem330 committed Jan 15, 2010
1 parent 9fe3b69 commit 2a04cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/appletalk/aarp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2a04cd4

Please sign in to comment.