diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2011-03-17 03:44:08 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-17 03:44:08 -0400 |
| commit | 1d2a1959fe534279cf37aba20b08c24c20840e52 (patch) | |
| tree | 67c0b9aa7fe22a44bf0b4af88947799203eb8f67 /include/linux/skbuff.h | |
| parent | 5a79ce76e9bb8f4b2cd8106ee36d15ee05013bcf (diff) | |
| parent | 054cfaacf88865bff1dd58d305443d5d6c068a08 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into sh-latest
Diffstat (limited to 'include/linux/skbuff.h')
| -rw-r--r-- | include/linux/skbuff.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index bf221d65d9ad..24cfa626931e 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -388,10 +388,7 @@ struct sk_buff { | |||
| 388 | kmemcheck_bitfield_begin(flags2); | 388 | kmemcheck_bitfield_begin(flags2); |
| 389 | __u16 queue_mapping:16; | 389 | __u16 queue_mapping:16; |
| 390 | #ifdef CONFIG_IPV6_NDISC_NODETYPE | 390 | #ifdef CONFIG_IPV6_NDISC_NODETYPE |
| 391 | __u8 ndisc_nodetype:2, | 391 | __u8 ndisc_nodetype:2; |
| 392 | deliver_no_wcard:1; | ||
| 393 | #else | ||
| 394 | __u8 deliver_no_wcard:1; | ||
| 395 | #endif | 392 | #endif |
| 396 | __u8 ooo_okay:1; | 393 | __u8 ooo_okay:1; |
| 397 | kmemcheck_bitfield_end(flags2); | 394 | kmemcheck_bitfield_end(flags2); |
| @@ -1801,6 +1798,15 @@ static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) | |||
| 1801 | prefetch(skb->prev), (skb != (struct sk_buff *)(queue)); \ | 1798 | prefetch(skb->prev), (skb != (struct sk_buff *)(queue)); \ |
| 1802 | skb = skb->prev) | 1799 | skb = skb->prev) |
| 1803 | 1800 | ||
| 1801 | #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ | ||
| 1802 | for (skb = (queue)->prev, tmp = skb->prev; \ | ||
| 1803 | skb != (struct sk_buff *)(queue); \ | ||
| 1804 | skb = tmp, tmp = skb->prev) | ||
| 1805 | |||
| 1806 | #define skb_queue_reverse_walk_from_safe(queue, skb, tmp) \ | ||
| 1807 | for (tmp = skb->prev; \ | ||
| 1808 | skb != (struct sk_buff *)(queue); \ | ||
| 1809 | skb = tmp, tmp = skb->prev) | ||
| 1804 | 1810 | ||
| 1805 | static inline bool skb_has_frag_list(const struct sk_buff *skb) | 1811 | static inline bool skb_has_frag_list(const struct sk_buff *skb) |
| 1806 | { | 1812 | { |
| @@ -1868,7 +1874,7 @@ extern void skb_split(struct sk_buff *skb, | |||
| 1868 | extern int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, | 1874 | extern int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, |
| 1869 | int shiftlen); | 1875 | int shiftlen); |
| 1870 | 1876 | ||
| 1871 | extern struct sk_buff *skb_segment(struct sk_buff *skb, int features); | 1877 | extern struct sk_buff *skb_segment(struct sk_buff *skb, u32 features); |
| 1872 | 1878 | ||
| 1873 | static inline void *skb_header_pointer(const struct sk_buff *skb, int offset, | 1879 | static inline void *skb_header_pointer(const struct sk_buff *skb, int offset, |
| 1874 | int len, void *buffer) | 1880 | int len, void *buffer) |
