OSDN Git Service

net: Reorder the contents of skb_frag_t
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 23 Jul 2019 03:08:28 +0000 (20:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 03:47:56 +0000 (20:47 -0700)
Match the layout of bio_vec.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h

index 7910935..b9dc8b4 100644 (file)
@@ -314,8 +314,8 @@ struct skb_frag_struct {
        struct {
                struct page *p;
        } page;
-       __u32 page_offset;
        __u32 size;
+       __u32 page_offset;
 };
 
 /**