Home
last modified time | relevance | path

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

/net/ipv6/
Dmcast_snoop.c143 struct sk_buff *skb_chk = NULL; in __ipv6_mc_check_mld() local
151 skb_chk = skb_checksum_trimmed(skb, transport_len, in __ipv6_mc_check_mld()
153 if (!skb_chk) in __ipv6_mc_check_mld()
156 if (!pskb_may_pull(skb_chk, len)) in __ipv6_mc_check_mld()
159 ret = ipv6_mc_check_mld_msg(skb_chk); in __ipv6_mc_check_mld()
164 *skb_trimmed = skb_chk; in __ipv6_mc_check_mld()
166 else if (skb_chk != skb) in __ipv6_mc_check_mld()
167 kfree_skb(skb_chk); in __ipv6_mc_check_mld()
172 if (ret && skb_chk && skb_chk != skb) in __ipv6_mc_check_mld()
173 kfree_skb(skb_chk); in __ipv6_mc_check_mld()
/net/core/
Dskbuff.c4139 struct sk_buff *skb_chk; in skb_checksum_maybe_trim() local
4148 skb_chk = skb_clone(skb, GFP_ATOMIC); in skb_checksum_maybe_trim()
4149 if (!skb_chk) in skb_checksum_maybe_trim()
4152 ret = pskb_trim_rcsum(skb_chk, len); in skb_checksum_maybe_trim()
4154 kfree_skb(skb_chk); in skb_checksum_maybe_trim()
4158 return skb_chk; in skb_checksum_maybe_trim()
4180 struct sk_buff *skb_chk; in skb_checksum_trimmed() local
4184 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
4185 if (!skb_chk) in skb_checksum_trimmed()
4188 if (!pskb_may_pull(skb_chk, offset)) in skb_checksum_trimmed()
[all …]
/net/ipv4/
Digmp.c1489 struct sk_buff *skb_chk; in __ip_mc_check_igmp() local
1496 skb_chk = skb_checksum_trimmed(skb, transport_len, in __ip_mc_check_igmp()
1498 if (!skb_chk) in __ip_mc_check_igmp()
1501 if (!pskb_may_pull(skb_chk, len)) in __ip_mc_check_igmp()
1504 ret = ip_mc_check_igmp_msg(skb_chk); in __ip_mc_check_igmp()
1509 *skb_trimmed = skb_chk; in __ip_mc_check_igmp()
1511 else if (skb_chk != skb) in __ip_mc_check_igmp()
1512 kfree_skb(skb_chk); in __ip_mc_check_igmp()
1517 if (ret && skb_chk && skb_chk != skb) in __ip_mc_check_igmp()
1518 kfree_skb(skb_chk); in __ip_mc_check_igmp()