Re: 2.6.38-rc1: arp triggers RTNL assertion

From: Eric Dumazet
Date: Fri Jan 21 2011 - 17:13:30 EST


Le vendredi 21 janvier 2011 Ã 13:06 -0800, David Miller a Ãcrit :
> From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> Date: Fri, 21 Jan 2011 19:52:56 +0100
>
> > Here is how I fixed this, thanks again Jamie !
> >
> > [PATCH] net: neighbour: pneigh_lookup() doesnt need RTNL
>
> Eric, I don't think we can do this.
>
> Fundamentally, any time a user operation changes the configuration
> of the networking, we must hold the RTNL.
>
> Eliding the RTNL for lookups is fine, but for things that change
> state it is not.
>
> I therefore think you'll need to rework the arp_ioctl() portions
> of the commit that introduced this regression.
>

Hmm, I'll think about it, no problem.


--
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/