aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skbuff.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 37247901ebd2..1c19b2d55c2b 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1654,5 +1654,12 @@ static inline int skb_is_gso(const struct sk_buff *skb)
1654 return skb_shinfo(skb)->gso_size; 1654 return skb_shinfo(skb)->gso_size;
1655} 1655}
1656 1656
1657static inline void skb_forward_csum(struct sk_buff *skb)
1658{
1659 /* Unfortunately we don't support this one. Any brave souls? */
1660 if (skb->ip_summed == CHECKSUM_COMPLETE)
1661 skb->ip_summed = CHECKSUM_NONE;
1662}
1663
1657#endif /* __KERNEL__ */ 1664#endif /* __KERNEL__ */
1658#endif /* _LINUX_SKBUFF_H */ 1665#endif /* _LINUX_SKBUFF_H */