aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet')
-rw-r--r--net/packet/af_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index bf3a2954cd4d..dac775e0bc72 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -188,7 +188,6 @@ struct packet_sock {
188 struct packet_ring_buffer tx_ring; 188 struct packet_ring_buffer tx_ring;
189 int copy_thresh; 189 int copy_thresh;
190#endif 190#endif
191 struct packet_type prot_hook;
192 spinlock_t bind_lock; 191 spinlock_t bind_lock;
193 struct mutex pg_vec_lock; 192 struct mutex pg_vec_lock;
194 unsigned int running:1, /* prot_hook is attached*/ 193 unsigned int running:1, /* prot_hook is attached*/
@@ -204,6 +203,7 @@ struct packet_sock {
204 unsigned int tp_reserve; 203 unsigned int tp_reserve;
205 unsigned int tp_loss:1; 204 unsigned int tp_loss:1;
206#endif 205#endif
206 struct packet_type prot_hook ____cacheline_aligned_in_smp;
207}; 207};
208 208
209struct packet_skb_cb { 209struct packet_skb_cb {