]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/packet/internal.h
kcm: disable preemption in kcm_parse_func_strparser()
[linux.git] / net / packet / internal.h
index c70a2794456f15559a31de428f6fa6cc8604e090..82fb2b10f790d5b64e95cd3db869f496ecac5c00 100644 (file)
@@ -132,6 +132,7 @@ struct packet_sock {
        struct net_device __rcu *cached_dev;
        int                     (*xmit)(struct sk_buff *skb);
        struct packet_type      prot_hook ____cacheline_aligned_in_smp;
+       atomic_t                tp_drops ____cacheline_aligned_in_smp;
 };
 
 static struct packet_sock *pkt_sk(struct sock *sk)