summaryrefslogtreecommitdiffstats
path: root/include/net/act_api.h
diff options
context:
space:
mode:
authorRalf Baechle2009-08-18 03:05:32 +0200
committerDavid S. Miller2009-08-18 03:05:32 +0200
commitc6ba973b8fa97422aab4204f7d79f1d413cde925 (patch)
tree2fbd38ba11da09f18a6ba922c772b41364b03b20 /include/net/act_api.h
parente1000e: fix use of pci_enable_pcie_error_reporting (diff)
downloadkernel-qcow2-linux-c6ba973b8fa97422aab4204f7d79f1d413cde925.tar.gz
kernel-qcow2-linux-c6ba973b8fa97422aab4204f7d79f1d413cde925.tar.xz
kernel-qcow2-linux-c6ba973b8fa97422aab4204f7d79f1d413cde925.zip
NETROM: Fix use of static buffer
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>
Diffstat (limited to 'include/net/act_api.h')
0 files changed, 0 insertions, 0 deletions