]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV4]: Fix garbage collection of multipath route entries
authorSuresh Bhogavilli <sbhogavilli@verisign.com>
Tue, 21 Feb 2006 21:42:22 +0000 (13:42 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 24 Feb 2006 00:10:52 +0000 (16:10 -0800)
commit85259878499d6c428cba191bb4e415a250dcd75a
tree6b9c1592f66886917b6ec09dd55f9c52eb850561
parent42cf93cd464e0df3c85d298c647411bae6d99e6e
[IPV4]: Fix garbage collection of multipath route entries

When garbage collecting route cache entries of multipath routes
in rt_garbage_collect(), entries were deleted from the hash bucket
'i' while holding a spin lock on bucket 'k' resulting in a system
hang.  Delete entries, if any, from bucket 'k' instead.

Signed-off-by: Suresh Bhogavilli <sbhogavilli@verisign.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c