From: "David S. Miller" <davem@davemloft.net>
To: Thomas Graf <tgraf@suug.ch>
Cc: yoshfuji@linux-ipv6.org, buytenh@wantstofly.org, netdev@oss.sgi.com
Subject: Re: race in net/ipv4/ipip.c ?
Date: Wed, 12 Jan 2005 11:02:10 -0800 [thread overview]
Message-ID: <20050112110210.18ccda02.davem@davemloft.net> (raw)
In-Reply-To: <20050112132126.GI26856@postel.suug.ch>
On Wed, 12 Jan 2005 14:21:26 +0100
Thomas Graf <tgraf@suug.ch> wrote:
> * YOSHIFUJI Hideaki / ?$B5HF#1QL@ <20050112.220816.56650893.yoshfuji@linux-ipv6.org> 2005-01-12 22:08
> > How about adding multiple tunnels (with same ipip_bucket(t))
> > concurrently? :-)
> >
>
> * Lennert Buytenhek <20050112130940.GA12547@xi.wantstofly.org> 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.
Yeah. Alexey does this trick everywhere, when we have the RTNL semaphore
held we only need to lock for the actual linkage operation that adds the
new object to the tree.
next prev parent reply other threads:[~2005-01-12 19:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 12:23 race in net/ipv4/ipip.c ? Lennert Buytenhek
2005-01-12 12:53 ` Thomas Graf
2005-01-12 13:08 ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-12 13:21 ` Thomas Graf
2005-01-12 13:36 ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-14 4:54 ` David S. Miller
2005-01-14 5:10 ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-12 19:02 ` David S. Miller [this message]
2005-01-12 13:09 ` Lennert Buytenhek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050112110210.18ccda02.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=buytenh@wantstofly.org \
--cc=netdev@oss.sgi.com \
--cc=tgraf@suug.ch \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).