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
packet: annotate data-races around ignore_outgoing
[linux-2.6-microblaze.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
0766a24
..
722787c
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2245,7
+2245,7
@@
void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
rcu_read_lock();
again:
list_for_each_entry_rcu(ptype, ptype_list, list) {
- if (
ptype->ignore_outgoing
)
+ if (
READ_ONCE(ptype->ignore_outgoing)
)
continue;
/* Never send packets back to the socket