Lines Matching refs:skb_chk
5496 struct sk_buff *skb_chk; in skb_checksum_maybe_trim() local
5505 skb_chk = skb_clone(skb, GFP_ATOMIC); in skb_checksum_maybe_trim()
5506 if (!skb_chk) in skb_checksum_maybe_trim()
5509 ret = pskb_trim_rcsum(skb_chk, len); in skb_checksum_maybe_trim()
5511 kfree_skb(skb_chk); in skb_checksum_maybe_trim()
5515 return skb_chk; in skb_checksum_maybe_trim()
5537 struct sk_buff *skb_chk; in skb_checksum_trimmed() local
5541 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
5542 if (!skb_chk) in skb_checksum_trimmed()
5545 if (!pskb_may_pull(skb_chk, offset)) in skb_checksum_trimmed()
5548 skb_pull_rcsum(skb_chk, offset); in skb_checksum_trimmed()
5549 ret = skb_chkf(skb_chk); in skb_checksum_trimmed()
5550 skb_push_rcsum(skb_chk, offset); in skb_checksum_trimmed()
5555 return skb_chk; in skb_checksum_trimmed()
5558 if (skb_chk && skb_chk != skb) in skb_checksum_trimmed()
5559 kfree_skb(skb_chk); in skb_checksum_trimmed()