aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/packet/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/packet/internal.h b/net/packet/internal.h
index e891f025a1b9..650751b9a7ee 100644
--- a/net/packet/internal.h
+++ b/net/packet/internal.h
@@ -54,6 +54,7 @@ struct pgv {
54 54
55struct packet_ring_buffer { 55struct packet_ring_buffer {
56 struct pgv *pg_vec; 56 struct pgv *pg_vec;
57
57 unsigned int head; 58 unsigned int head;
58 unsigned int frames_per_block; 59 unsigned int frames_per_block;
59 unsigned int frame_size; 60 unsigned int frame_size;
@@ -63,8 +64,9 @@ struct packet_ring_buffer {
63 unsigned int pg_vec_pages; 64 unsigned int pg_vec_pages;
64 unsigned int pg_vec_len; 65 unsigned int pg_vec_len;
65 66
66 struct tpacket_kbdq_core prb_bdqc;
67 atomic_t pending; 67 atomic_t pending;
68
69 struct tpacket_kbdq_core prb_bdqc;
68}; 70};
69 71
70extern struct mutex fanout_mutex; 72extern struct mutex fanout_mutex;