From: David Miller <davem@davemloft.net>
To: ralf@linux-mips.org
Cc: netdev@vger.kernel.org, linux-hams@vger.kernel.org
Subject: Re: [PATCH 1/2] NET: NETROM: Don't use static buffer.
Date: Sun, 26 Jul 2009 19:09:27 -0700 (PDT) [thread overview]
Message-ID: <20090726.190927.145496853.davem@davemloft.net> (raw)
In-Reply-To: <65cb898f276a2dc3c56e6a78b5bc422303e6856f.1248620197.git.ralf@linux-mips.org>
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 25 Jul 2009 11:38:17 +0100
> The use of a static buffer in nr_call_to_digi() to return its result is
> not threadproof and can result in corruption if multiple threads are
> trying to perform SIOCADDRT ioctls.
>
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
So what frees up these now-dynamically-allocated digi objects?
next parent reply other threads:[~2009-07-27 2:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1248620197.git.ralf@linux-mips.org>
[not found] ` <65cb898f276a2dc3c56e6a78b5bc422303e6856f.1248620197.git.ralf@linux-mips.org>
2009-07-27 2:09 ` David Miller [this message]
2009-08-04 18:57 ` [PATCH 1/2] NET: NETROM: Don't use static buffer David Miller
[not found] ` <eb5a7590d64932b2239e358b54391c25007472ee.1248620197.git.ralf@linux-mips.org>
2009-07-27 2:11 ` [PATCH 2/2] NET: ROSE: " David Miller
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=20090726.190927.145496853.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-hams@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ralf@linux-mips.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).