diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-05 20:06:22 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-05 20:06:22 +0000 |
commit | 7c9373fbcd0b29f6ccc28407c11ecd51cfa7a3c2 (patch) | |
tree | f7108509cb562de12c24b91563f26bac9ca3ea96 /include/linux | |
parent | 9c9a23470dc44b51230c35b93d1930e2dc2d1000 (diff) | |
parent | 4e77f7f1261f65cff06918bc5e66d02a418fc842 (diff) |
Merge tag 'v3.10.18' into linux-linaro-lsk
This is the 3.10.18 stable release
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/skbuff.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index dec1748cd00..eaf60278163 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1308,6 +1308,11 @@ static inline int skb_pagelen(const struct sk_buff *skb) return len + skb_headlen(skb); } +static inline bool skb_has_frags(const struct sk_buff *skb) +{ + return skb_shinfo(skb)->nr_frags; +} + /** * __skb_fill_page_desc - initialise a paged fragment in an skb * @skb: buffer containing fragment to be initialised |