]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] iseries_veth: Remove redundant message stack lock
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 1 Sep 2005 01:29:05 +0000 (11:29 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Sep 2005 02:37:57 +0000 (22:37 -0400)
commitd7893ddd1b2110a54a5b1773a405748172ba1fe5
tree29e6558fcc6156bdbf97507e631d37d34e4c1a22
parent2a5391a12297d1759b1c736634acb95793d43fb3
[PATCH] iseries_veth: Remove redundant message stack lock

The iseries_veth driver keeps a stack of messages for each connection
and a lock to protect the stack. However there is also a per-connection lock
which makes the message stack lock redundant.

Remove the message stack lock and document the fact that callers of the
stack-manipulation functions must hold the connection's lock.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/iseries_veth.c