projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
af_packet: TPACKET_V3: replace busy-wait loop
[linux-block.git]
/
net
/
packet
/
internal.h
diff --git
a/net/packet/internal.h
b/net/packet/internal.h
index 907f4cd2a7188e4258c3144cdf5c1ff0d96288ca..fd41ecb7f6059864012f403c1dae5fd4f11337ee 100644
(file)
--- a/
net/packet/internal.h
+++ b/
net/packet/internal.h
@@
-39,7
+39,7
@@
struct tpacket_kbdq_core {
char *nxt_offset;
struct sk_buff *skb;
-
atomic_t blk_fill_in_prog
;
+
rwlock_t blk_fill_in_prog_lock
;
/* Default is set to 8ms */
#define DEFAULT_PRB_RETIRE_TOV (8)