diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index d0ae90af0b40..e8b78ce14474 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -391,8 +391,8 @@ struct sk_buff { | |||
391 | 391 | ||
392 | __u32 rxhash; | 392 | __u32 rxhash; |
393 | 393 | ||
394 | __u16 queue_mapping; | ||
394 | kmemcheck_bitfield_begin(flags2); | 395 | kmemcheck_bitfield_begin(flags2); |
395 | __u16 queue_mapping:16; | ||
396 | #ifdef CONFIG_IPV6_NDISC_NODETYPE | 396 | #ifdef CONFIG_IPV6_NDISC_NODETYPE |
397 | __u8 ndisc_nodetype:2; | 397 | __u8 ndisc_nodetype:2; |
398 | #endif | 398 | #endif |
@@ -1442,7 +1442,7 @@ extern int ___pskb_trim(struct sk_buff *skb, unsigned int len); | |||
1442 | 1442 | ||
1443 | static inline void __skb_trim(struct sk_buff *skb, unsigned int len) | 1443 | static inline void __skb_trim(struct sk_buff *skb, unsigned int len) |
1444 | { | 1444 | { |
1445 | if (unlikely(skb->data_len)) { | 1445 | if (unlikely(skb_is_nonlinear(skb))) { |
1446 | WARN_ON(1); | 1446 | WARN_ON(1); |
1447 | return; | 1447 | return; |
1448 | } | 1448 | } |
@@ -1782,7 +1782,7 @@ static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) | |||
1782 | 1782 | ||
1783 | #define skb_queue_walk(queue, skb) \ | 1783 | #define skb_queue_walk(queue, skb) \ |
1784 | for (skb = (queue)->next; \ | 1784 | for (skb = (queue)->next; \ |
1785 | prefetch(skb->next), (skb != (struct sk_buff *)(queue)); \ | 1785 | skb != (struct sk_buff *)(queue); \ |
1786 | skb = skb->next) | 1786 | skb = skb->next) |
1787 | 1787 | ||
1788 | #define skb_queue_walk_safe(queue, skb, tmp) \ | 1788 | #define skb_queue_walk_safe(queue, skb, tmp) \ |
@@ -1791,7 +1791,7 @@ static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) | |||
1791 | skb = tmp, tmp = skb->next) | 1791 | skb = tmp, tmp = skb->next) |
1792 | 1792 | ||
1793 | #define skb_queue_walk_from(queue, skb) \ | 1793 | #define skb_queue_walk_from(queue, skb) \ |
1794 | for (; prefetch(skb->next), (skb != (struct sk_buff *)(queue)); \ | 1794 | for (; skb != (struct sk_buff *)(queue); \ |
1795 | skb = skb->next) | 1795 | skb = skb->next) |
1796 | 1796 | ||
1797 | #define skb_queue_walk_from_safe(queue, skb, tmp) \ | 1797 | #define skb_queue_walk_from_safe(queue, skb, tmp) \ |
@@ -1801,7 +1801,7 @@ static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) | |||
1801 | 1801 | ||
1802 | #define skb_queue_reverse_walk(queue, skb) \ | 1802 | #define skb_queue_reverse_walk(queue, skb) \ |
1803 | for (skb = (queue)->prev; \ | 1803 | for (skb = (queue)->prev; \ |
1804 | prefetch(skb->prev), (skb != (struct sk_buff *)(queue)); \ | 1804 | skb != (struct sk_buff *)(queue); \ |
1805 | skb = skb->prev) | 1805 | skb = skb->prev) |
1806 | 1806 | ||
1807 | #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ | 1807 | #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ |