提交 2a04cd4c 编写于 作者: R Roel Kluin 提交者: David S. Miller

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: NRoel Kluin <roel.kluin@gmail.com>
Acked-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9fe3b691
...@@ -819,7 +819,7 @@ static int aarp_rcv(struct sk_buff *skb, struct net_device *dev, ...@@ -819,7 +819,7 @@ static int aarp_rcv(struct sk_buff *skb, struct net_device *dev,
ma = &ifa->address; ma = &ifa->address;
else { /* We need to make a copy of the entry. */ else { /* We need to make a copy of the entry. */
da.s_node = sa.s_node; da.s_node = sa.s_node;
da.s_net = da.s_net; da.s_net = sa.s_net;
ma = &da; ma = &da;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册