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
SUNRPC/auth: async tasks mustn't block waiting for memory
[linux-2.6-microblaze.git]
/
net
/
ipv4
/
route.c
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index
ff6f91c
..
f33ad1f
100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-3395,8
+3395,8
@@
static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
fa->fa_tos == fri.tos &&
fa->fa_info == res.fi &&
fa->fa_type == fri.type) {
- fri.offload =
fa->offload
;
- fri.trap =
fa->trap
;
+ fri.offload =
READ_ONCE(fa->offload)
;
+ fri.trap =
READ_ONCE(fa->trap)
;
break;
}
}