projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtnetlink: prepare nla_put_iflink() to run under RCU
[linux-2.6-microblaze.git]
/
net
/
ieee802154
/
6lowpan
/
core.c
diff --git
a/net/ieee802154/6lowpan/core.c
b/net/ieee802154/6lowpan/core.c
index
e643f52
..
77b4e92
100644
(file)
--- a/
net/ieee802154/6lowpan/core.c
+++ b/
net/ieee802154/6lowpan/core.c
@@
-93,7
+93,7
@@
static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n)
static int lowpan_get_iflink(const struct net_device *dev)
{
- return
lowpan_802154_dev(dev)->wdev->ifindex
;
+ return
READ_ONCE(lowpan_802154_dev(dev)->wdev->ifindex)
;
}
static const struct net_device_ops lowpan_netdev_ops = {