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
Merge v5.14-rc3 into usb-next
[linux-2.6-microblaze.git]
/
include
/
net
/
busy_poll.h
diff --git
a/include/net/busy_poll.h
b/include/net/busy_poll.h
index
73af4a6
..
40296ed
100644
(file)
--- a/
include/net/busy_poll.h
+++ b/
include/net/busy_poll.h
@@
-38,7
+38,7
@@
static inline bool net_busy_loop_on(void)
static inline bool sk_can_busy_loop(const struct sock *sk)
{
static inline bool sk_can_busy_loop(const struct sock *sk)
{
- return
sk->sk_ll_usec
&& !signal_pending(current);
+ return
READ_ONCE(sk->sk_ll_usec)
&& !signal_pending(current);
}
bool sk_busy_loop_end(void *p, unsigned long start_time);
}
bool sk_busy_loop_end(void *p, unsigned long start_time);