[Top] [All Lists]

Re: race in net/ipv4/ipip.c ?

To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx>, Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>
Subject: Re: race in net/ipv4/ipip.c ?
From: Thomas Graf <tgraf@xxxxxxx>
Date: Wed, 12 Jan 2005 14:21:26 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050112130940.GA12547@xxxxxxxxxxxxxxxxx> <20050112.220816.56650893.yoshfuji@xxxxxxxxxxxxxx>
References: <20050112122300.GA12155@xxxxxxxxxxxxxxxxx> <20050112125336.GH26856@xxxxxxxxxxxxxx> <20050112130940.GA12547@xxxxxxxxxxxxxxxxx> <20050112122300.GA12155@xxxxxxxxxxxxxxxxx> <20050112125336.GH26856@xxxxxxxxxxxxxx> <20050112.220816.56650893.yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
* YOSHIFUJI Hideaki / ?$B5HF#1QL@ 
<20050112.220816.56650893.yoshfuji@xxxxxxxxxxxxxx> 2005-01-12 22:08
> How about adding multiple tunnels (with same ipip_bucket(t))
> concurrently? :-)

* Lennert Buytenhek <20050112130940.GA12547@xxxxxxxxxxxxxxxxx> 2005-01-12 14:09
> What if you add two tunnels at the same time?  (Or is that perhaps
> synchronised on a higher level?)

Not possible, protected via rtnl semaphore acquired in default
handler of dev_ioctl.

<Prev in Thread] Current Thread [Next in Thread>