commit | d8fae9c2f2642ffe411424ed2e4677f959168152 | [log] [tgz] |
---|---|---|
author | Ursula Braun <braunu@de.ibm.com> | Fri Oct 05 16:45:46 2007 +0200 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:54:41 2007 -0700 |
tree | e037acf17ddb344baa3bbb5c1d9cb398a409d8c8 | |
parent | 6570ebc4f57ad0761104f769576ae5652d9b8d64 [diff] |
qeth: avoid duplicate deletion of multicast addresses if qeth_set_multicast_list() is performed on 2 CPUs in parallel, card->ip_list may end corrupted. Solution: In function __qeth_delete_all_mc() remove card->ip_list entry before invoking qeth_deregister_addr_entry(). Thus a 2nd invocation of qeth_set_multicast_list() cannot try to remove the same entry twice. Signed-off-by Ursula Braun <braunu@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>