diff options
| author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-01-16 16:21:04 -0500 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-01-16 16:21:04 -0500 |
| commit | f652f6c5b7cfdf139f4155d78f397e99ae1c4acc (patch) | |
| tree | 71c6344688bf56ea6aaf18c586ab69ff4f077ade /include/linux/skbuff.h | |
| parent | 140e3008e7fe1526cbb12f8f07dbc273ac713b75 (diff) | |
| parent | c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 (diff) | |
Merge branch 'master' of /pub/scm/linux/kernel/git/jejb/scsi-post-merge-2.6 into for-linus
Diffstat (limited to 'include/linux/skbuff.h')
| -rw-r--r-- | include/linux/skbuff.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index e6ba898de61c..20ec0a64cb9f 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -386,9 +386,10 @@ struct sk_buff { | |||
| 386 | #else | 386 | #else |
| 387 | __u8 deliver_no_wcard:1; | 387 | __u8 deliver_no_wcard:1; |
| 388 | #endif | 388 | #endif |
| 389 | __u8 ooo_okay:1; | ||
| 389 | kmemcheck_bitfield_end(flags2); | 390 | kmemcheck_bitfield_end(flags2); |
| 390 | 391 | ||
| 391 | /* 0/14 bit hole */ | 392 | /* 0/13 bit hole */ |
| 392 | 393 | ||
| 393 | #ifdef CONFIG_NET_DMA | 394 | #ifdef CONFIG_NET_DMA |
| 394 | dma_cookie_t dma_cookie; | 395 | dma_cookie_t dma_cookie; |
| @@ -1354,6 +1355,11 @@ static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) | |||
| 1354 | } | 1355 | } |
| 1355 | #endif /* NET_SKBUFF_DATA_USES_OFFSET */ | 1356 | #endif /* NET_SKBUFF_DATA_USES_OFFSET */ |
| 1356 | 1357 | ||
| 1358 | static inline int skb_checksum_start_offset(const struct sk_buff *skb) | ||
| 1359 | { | ||
| 1360 | return skb->csum_start - skb_headroom(skb); | ||
| 1361 | } | ||
| 1362 | |||
| 1357 | static inline int skb_transport_offset(const struct sk_buff *skb) | 1363 | static inline int skb_transport_offset(const struct sk_buff *skb) |
| 1358 | { | 1364 | { |
| 1359 | return skb_transport_header(skb) - skb->data; | 1365 | return skb_transport_header(skb) - skb->data; |
| @@ -2164,8 +2170,9 @@ static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) | |||
| 2164 | return skb->queue_mapping != 0; | 2170 | return skb->queue_mapping != 0; |
| 2165 | } | 2171 | } |
| 2166 | 2172 | ||
| 2167 | extern u16 skb_tx_hash(const struct net_device *dev, | 2173 | extern u16 __skb_tx_hash(const struct net_device *dev, |
| 2168 | const struct sk_buff *skb); | 2174 | const struct sk_buff *skb, |
| 2175 | unsigned int num_tx_queues); | ||
| 2169 | 2176 | ||
| 2170 | #ifdef CONFIG_XFRM | 2177 | #ifdef CONFIG_XFRM |
| 2171 | static inline struct sec_path *skb_sec_path(struct sk_buff *skb) | 2178 | static inline struct sec_path *skb_sec_path(struct sk_buff *skb) |
