diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index e7ec6d3ad5f0..3864b4b68fa1 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -3017,24 +3017,6 @@ int skb_append_pagefrags(struct sk_buff *skb, struct page *page, | |||
3017 | EXPORT_SYMBOL_GPL(skb_append_pagefrags); | 3017 | EXPORT_SYMBOL_GPL(skb_append_pagefrags); |
3018 | 3018 | ||
3019 | /** | 3019 | /** |
3020 | * skb_push_rcsum - push skb and update receive checksum | ||
3021 | * @skb: buffer to update | ||
3022 | * @len: length of data pulled | ||
3023 | * | ||
3024 | * This function performs an skb_push on the packet and updates | ||
3025 | * the CHECKSUM_COMPLETE checksum. It should be used on | ||
3026 | * receive path processing instead of skb_push unless you know | ||
3027 | * that the checksum difference is zero (e.g., a valid IP header) | ||
3028 | * or you are setting ip_summed to CHECKSUM_NONE. | ||
3029 | */ | ||
3030 | static unsigned char *skb_push_rcsum(struct sk_buff *skb, unsigned len) | ||
3031 | { | ||
3032 | skb_push(skb, len); | ||
3033 | skb_postpush_rcsum(skb, skb->data, len); | ||
3034 | return skb->data; | ||
3035 | } | ||
3036 | |||
3037 | /** | ||
3038 | * skb_pull_rcsum - pull skb and update receive checksum | 3020 | * skb_pull_rcsum - pull skb and update receive checksum |
3039 | * @skb: buffer to update | 3021 | * @skb: buffer to update |
3040 | * @len: length of data pulled | 3022 | * @len: length of data pulled |