Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)

From: David S. Miller
Date: Sun Feb 06 2005 - 00:15:28 EST


On Sun, 06 Feb 2005 13:37:23 +0900 (JST)
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> wrote:

> How about making dst->ops->dev_check() like this:
>
> static int inline dst_dev_check(struct dst_entry *dst, struct net_device *dev)
> {
> if (dst->ops->dev_check)
> return dst->ops->dev_check(dst, dev)
> else
> return dst->dev == dev;
> }

Oh I see. That would work, and it seems the simplest, and
lowest risk fix for this problem.

Herbert, what do you think?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/