Home
last modified time | relevance | path

Searched refs:skb_chk (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/ipv6/
Dmcast_snoop.c138 struct sk_buff *skb_chk; in ipv6_mc_check_icmpv6() local
143 skb_chk = skb_checksum_trimmed(skb, transport_len, in ipv6_mc_check_icmpv6()
145 if (!skb_chk) in ipv6_mc_check_icmpv6()
148 if (skb_chk != skb) in ipv6_mc_check_icmpv6()
149 kfree_skb(skb_chk); in ipv6_mc_check_icmpv6()
/linux-6.1.9/net/core/
Dskbuff.c5307 struct sk_buff *skb_chk; in skb_checksum_maybe_trim() local
5316 skb_chk = skb_clone(skb, GFP_ATOMIC); in skb_checksum_maybe_trim()
5317 if (!skb_chk) in skb_checksum_maybe_trim()
5320 ret = pskb_trim_rcsum(skb_chk, len); in skb_checksum_maybe_trim()
5322 kfree_skb(skb_chk); in skb_checksum_maybe_trim()
5326 return skb_chk; in skb_checksum_maybe_trim()
5348 struct sk_buff *skb_chk; in skb_checksum_trimmed() local
5352 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
5353 if (!skb_chk) in skb_checksum_trimmed()
5356 if (!pskb_may_pull(skb_chk, offset)) in skb_checksum_trimmed()
[all …]
/linux-6.1.9/net/ipv4/
Digmp.c1587 struct sk_buff *skb_chk; in ip_mc_check_igmp_csum() local
1592 skb_chk = skb_checksum_trimmed(skb, transport_len, in ip_mc_check_igmp_csum()
1594 if (!skb_chk) in ip_mc_check_igmp_csum()
1597 if (skb_chk != skb) in ip_mc_check_igmp_csum()
1598 kfree_skb(skb_chk); in ip_mc_check_igmp_csum()