https://github.com/torvalds/linux
Revision c6ba973b8fa97422aab4204f7d79f1d413cde925 authored by Ralf Baechle on 18 August 2009, 01:05:32 UTC, committed by David S. Miller on 18 August 2009, 01:05:32 UTC
The static variable used by nr_call_to_digi might result in corruption if
multiple threads are trying to usee a node or neighbour via ioctl.  Fixed
by having the caller pass a structure in.  This is safe because nr_add_node
rsp. nr_add_neigh will allocate a permanent structure, if needed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 68eac46
History
Tip revision: c6ba973b8fa97422aab4204f7d79f1d413cde925 authored by Ralf Baechle on 18 August 2009, 01:05:32 UTC
NETROM: Fix use of static buffer
Tip revision: c6ba973
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.3 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top