[lkml]   [2005]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)
    In article <> (at Sat, 5 Feb 2005 20:10:44 -0800), "David S. Miller" <> says:

    > > Alternatively we can
    > > remove the dst->dev == dev check in dst_dev_event and dst_ifdown
    > > and move that test down to the individual ifdown functions.
    > I think there is a hole in this idea.... maybe.
    > If the idea is to scan dst_garbage_list down in ipv6 specific code,
    > you can't do that since 'dst' objects from every pool in the kernel
    > get put onto the dst_garbage_list. It is generic.

    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)
    return dst->dev == dev;

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:10    [W:0.021 / U:46.572 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site