]> Pileus Git - ~andy/linux/blobdiff - net/packet/internal.h
packet: use percpu mmap tx frame pending refcount
[~andy/linux] / net / packet / internal.h
index 0a87d7b36c9e2470836a3d00f0dc261e8983d41b..eb9580a6b25ff4474a7af54900efbe2579325d00 100644 (file)
@@ -64,7 +64,7 @@ struct packet_ring_buffer {
        unsigned int            pg_vec_pages;
        unsigned int            pg_vec_len;
 
-       atomic_t                pending;
+       unsigned int __percpu   *pending_refcnt;
 
        struct tpacket_kbdq_core        prb_bdqc;
 };