X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=net%2Fpacket%2Finternal.h;h=82fb2b10f790d5b64e95cd3db869f496ecac5c00;hb=0355d6c1d591b8f9e281783ec0cf95fbed893194;hp=c70a2794456f15559a31de428f6fa6cc8604e090;hpb=c2913b140f901a705809f8b6c83998cf8147f848;p=linux.git diff --git a/net/packet/internal.h b/net/packet/internal.h index c70a2794456f..82fb2b10f790 100644 --- a/net/packet/internal.h +++ b/net/packet/internal.h @@ -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)