git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: keyspan: fix tty line-status reporting
[pandora-kernel.git]
/
net
/
core
/
net-sysfs.c
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index
385aefe
..
0329404
100644
(file)
--- a/
net/core/net-sysfs.c
+++ b/
net/core/net-sysfs.c
@@
-990,9
+990,9
@@
static ssize_t store_xps_map(struct netdev_queue *queue,
nonempty = 1;
}
- if (nonempty)
-
RCU_INIT_POINTER
(dev->xps_maps, new_dev_maps);
- else {
+ if (nonempty)
{
+
rcu_assign_pointer
(dev->xps_maps, new_dev_maps);
+
}
else {
kfree(new_dev_maps);
RCU_INIT_POINTER(dev->xps_maps, NULL);
}