On Thu, 30 Dec 2004 03:48:35 -0500
David Dillow <[EMAIL PROTECTED]> wrote:

> +static void xfrm_accel_bundle(struct dst_entry *dst)
> +{
> +     struct xfrm_bundle_list bundle, *xbl, *tmp;
> +     struct net_device *dev = dst->dev;
> +     INIT_LIST_HEAD(&bundle.node);
> +
> +     if (dev && netif_running(dev) && (dev->features & NETIF_F_IPSEC)) {

netif_running() is only steady while the RTNL semaphore is held,
which is not necessarily true when xfrm_lookup() is invoked.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to