IPoIB: Lock accesses to multicast packet queues
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 17 Jan 2006 20:19:40 +0000 (12:19 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 17 Jan 2006 20:19:40 +0000 (12:19 -0800)
Avoid corrupting mcast->pkt_queue by serializing access with
priv->tx_lock.  Also, update dropped packet statistics to count
multicast packets removed from pkt_queue as dropped.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found