/linux-4.1.27/net/ipv4/ |
D | xfrm4_policy.c | 124 pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4() 133 if (pskb_may_pull(skb, xprth + 2 - skb->data)) { in _decode_session4() 142 if (pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4() 150 if (pskb_may_pull(skb, xprth + 8 - skb->data)) { in _decode_session4() 158 if (pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4() 166 if (pskb_may_pull(skb, xprth + 12 - skb->data)) { in _decode_session4()
|
D | gre_demux.c | 105 if (unlikely(!pskb_may_pull(skb, sizeof(struct gre_base_hdr)))) in parse_gre_header() 115 if (!pskb_may_pull(skb, hdr_len)) in parse_gre_header() 154 if (!pskb_may_pull(skb, hdr_len)) in parse_gre_header() 261 if (!pskb_may_pull(skb, 12)) in gre_rcv()
|
D | tunnel4.c | 94 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv() 113 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel64_rcv()
|
D | xfrm4_mode_beet.c | 94 if (!pskb_may_pull(skb, sizeof(*ph))) in xfrm4_beet_input() 106 if (!pskb_may_pull(skb, phlen)) in xfrm4_beet_input()
|
D | ip_tunnel_core.c | 89 if (unlikely(!pskb_may_pull(skb, hdr_len))) in iptunnel_pull_header() 97 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in iptunnel_pull_header()
|
D | gre_offload.c | 46 if (unlikely(!pskb_may_pull(skb, sizeof(*greh)))) in gre_gso_segment() 63 if (unlikely(!pskb_may_pull(skb, ghl))) in gre_gso_segment()
|
D | ip_input.c | 397 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in ip_rcv() 423 if (!pskb_may_pull(skb, iph->ihl*4)) in ip_rcv()
|
D | xfrm4_input.c | 86 if (!pskb_may_pull(skb, sizeof(struct udphdr) + min(len, 8))) in xfrm4_udp_encap_rcv()
|
D | tcp_offload.c | 35 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp4_gso_segment() 74 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()
|
D | xfrm4_mode_tunnel.c | 78 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in xfrm4_mode_tunnel_input()
|
D | icmp.c | 722 if (!pskb_may_pull(skb, iph->ihl * 4 + 8)) { in icmp_socket_deliver() 764 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in icmp_unreach() 860 if (!pskb_may_pull(skb, sizeof(struct iphdr))) { in icmp_redirect() 966 if (!pskb_may_pull(skb, sizeof(*icmph) + sizeof(struct iphdr))) in icmp_rcv()
|
D | udp_offload.c | 49 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in __skb_udp_tunnel_segment() 194 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in udp4_ufo_fragment()
|
D | ipconfig.c | 511 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv() 531 if (!pskb_may_pull(skb, arp_hdr_len(dev))) in ic_rarp_recv() 966 if (!pskb_may_pull(skb, in ic_bootp_recv() 1004 if (!pskb_may_pull(skb, skb->len)) in ic_bootp_recv()
|
D | fou.c | 85 if (!pskb_may_pull(skb, plen)) in gue_remcsum() 114 if (!pskb_may_pull(skb, len)) in gue_udp_recv() 122 if (!pskb_may_pull(skb, len)) in gue_udp_recv()
|
D | ah4.c | 317 if (!pskb_may_pull(skb, sizeof(*ah))) in ah_input() 337 if (!pskb_may_pull(skb, ah_hlen)) in ah_input()
|
D | geneve.c | 271 if (unlikely(!pskb_may_pull(skb, GENEVE_BASE_HLEN))) in geneve_udp_encap_recv()
|
D | af_inet.c | 1233 if (unlikely(!pskb_may_pull(skb, sizeof(*iph)))) in inet_gso_segment() 1245 if (unlikely(!pskb_may_pull(skb, ihl))) in inet_gso_segment()
|
D | tcp_ipv4.c | 1460 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux() 1561 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv() 1568 if (!pskb_may_pull(skb, th->doff * 4)) in tcp_v4_rcv()
|
D | esp4.c | 390 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp_input()
|
D | igmp.c | 915 if (!pskb_may_pull(skb, sizeof(struct igmpv3_query))) in igmp_heard_query() 920 if (!pskb_may_pull(skb, sizeof(struct igmpv3_query) in igmp_heard_query() 987 if (!pskb_may_pull(skb, sizeof(struct igmphdr))) in igmp_rcv()
|
D | ip_fragment.c | 688 if (!pskb_may_pull(skb, netoff + iph.ihl * 4)) in ip_check_defrag()
|
D | arp.c | 874 if (!pskb_may_pull(skb, arp_hdr_len(dev))) in arp_rcv()
|
D | udp.c | 1757 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in __udp4_lib_rcv() 1969 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct udphdr))) in udp_v4_early_demux()
|
D | ipmr.c | 2106 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv_v1() 2133 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv()
|
/linux-4.1.27/net/sched/ |
D | act_nat.c | 117 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat() 157 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat() 171 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat() 190 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat() 200 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat()
|
D | act_csum.c | 106 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer() 328 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4() 430 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6() 445 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6() 449 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6() 485 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | nf_tables_bridge.c | 27 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in nft_bridge_iphdr_validate() 40 if (!pskb_may_pull(skb, iph->ihl*4)) in nft_bridge_iphdr_validate() 52 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in nft_bridge_ip6hdr_validate()
|
D | nft_reject_bridge.c | 99 if (!pskb_may_pull(oldskb, len)) in nft_reject_br_send_v4_unreach() 221 if (!pskb_may_pull(oldskb, len)) in nft_reject_br_send_v6_unreach()
|
/linux-4.1.27/net/llc/ |
D | llc_input.c | 116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) in llc_fixup_skb() 124 if (unlikely(!pskb_may_pull(skb, llc_len))) in llc_fixup_skb() 134 !pskb_may_pull(skb, data_size)) in llc_fixup_skb()
|
/linux-4.1.27/net/x25/ |
D | x25_in.c | 112 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_state1_machine() 146 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state1_machine() 176 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state2_machine() 226 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state3_machine() 360 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state4_machine()
|
D | x25_dev.c | 37 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_receive_data() 123 if (!pskb_may_pull(skb, 1)) in x25_lapb_receive_frame()
|
D | x25_subr.c | 276 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_decode() 303 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode() 321 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode()
|
D | x25_facilities.c | 65 if (!pskb_may_pull(skb, 1)) in x25_parse_facilities() 70 if (!pskb_may_pull(skb, 1 + len)) in x25_parse_facilities()
|
D | af_x25.c | 96 if (!pskb_may_pull(skb, 1)) { in x25_parse_address_block() 105 if (!pskb_may_pull(skb, needed)) { in x25_parse_address_block() 954 if (!pskb_may_pull(skb, 1)) in x25_rx_call_request() 957 if (!pskb_may_pull(skb, len)) in x25_rx_call_request() 971 if (!pskb_may_pull(skb, skb->len)) in x25_rx_call_request() 1181 if (!pskb_may_pull(skb, 1)) in x25_sendmsg() 1289 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_recvmsg() 1312 if (!pskb_may_pull(skb, header_len)) in x25_recvmsg()
|
D | x25_link.c | 95 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 4)) in x25_link_control()
|
/linux-4.1.27/net/openvswitch/ |
D | flow.c | 184 if (unlikely(!pskb_may_pull(skb, len))) in check_header() 191 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok() 219 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok() 232 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok() 238 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok() 244 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok() 294 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok() 309 if (unlikely(!pskb_may_pull(skb, sizeof(struct qtag_prefix) + in parse_vlan() 341 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) in parse_ethertype()
|
/linux-4.1.27/net/batman-adv/ |
D | gateway_client.c | 686 if (!pskb_may_pull(skb, *header_len + ETH_HLEN)) in batadv_gw_dhcp_recipient_get() 695 if (!pskb_may_pull(skb, *header_len + VLAN_HLEN)) in batadv_gw_dhcp_recipient_get() 706 if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr))) in batadv_gw_dhcp_recipient_get() 718 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get() 733 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) in batadv_gw_dhcp_recipient_get() 763 pskb_may_pull(skb, chaddr_offset + ETH_ALEN)) { in batadv_gw_dhcp_recipient_get()
|
D | routing.c | 156 if (unlikely(!pskb_may_pull(skb, header_len))) in batadv_check_management_packet() 307 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet() 396 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet() 691 if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) in batadv_check_unicast_ttvn() 998 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
|
D | multicast.c | 270 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4() 308 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
|
D | soft-interface.c | 369 if (!pskb_may_pull(skb, hdr_size)) in batadv_interface_rx() 396 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in batadv_interface_rx()
|
D | main.c | 377 if (unlikely(!pskb_may_pull(skb, 2))) in batadv_batman_skb_recv() 1191 if (!pskb_may_pull(skb, header_len + VLAN_ETH_HLEN)) in batadv_get_vid()
|
D | distributed-arp-table.c | 812 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) in batadv_arp_get_type() 821 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN + in batadv_arp_get_type()
|
D | bridge_loop_avoidance.c | 903 if (unlikely(!pskb_may_pull(skb, headlen + arp_hdr_len(skb->dev)))) in batadv_bla_process_claim() 1404 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_bla_is_backbone_gw()
|
D | network-coding.c | 1554 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in batadv_nc_skb_store_for_decoding() 1776 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_nc_recv_coded_packet()
|
/linux-4.1.27/net/ipv6/ |
D | tunnel6.c | 105 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel6_rcv() 123 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
|
D | exthdrs.c | 258 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_destopt_rcv() 259 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_destopt_rcv() 309 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_rthdr_rcv() 310 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_rthdr_rcv() 628 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr) + 8) || in ipv6_parse_hopopts() 629 !pskb_may_pull(skb, (sizeof(struct ipv6hdr) + in ipv6_parse_hopopts()
|
D | xfrm6_policy.c | 155 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { in _decode_session6() 176 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { in _decode_session6() 188 if (!onlyproto && pskb_may_pull(skb, nh + offset + 2 - skb->data)) { in _decode_session6() 202 if (!onlyproto && pskb_may_pull(skb, nh + offset + 3 - skb->data)) { in _decode_session6()
|
D | ip6_offload.c | 40 if (unlikely(!pskb_may_pull(skb, 8))) in ipv6_gso_pull_exthdrs() 46 if (unlikely(!pskb_may_pull(skb, len))) in ipv6_gso_pull_exthdrs() 89 if (unlikely(!pskb_may_pull(skb, sizeof(*ipv6h)))) in ipv6_gso_segment()
|
D | tcpv6_offload.c | 49 if (!pskb_may_pull(skb, sizeof(*th))) in tcp6_gso_segment()
|
D | xfrm6_mode_tunnel.c | 78 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in xfrm6_mode_tunnel_input()
|
D | icmp.c | 635 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_notify() 650 if (!pskb_may_pull(skb, inner_offset+8)) in icmpv6_notify() 692 if (!pskb_may_pull(skb, sizeof(*hdr) + sizeof(struct ipv6hdr))) in icmpv6_rcv() 739 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_rcv()
|
D | udp_offload.c | 70 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in udp6_ufo_fragment()
|
D | ip6_input.c | 103 if (unlikely(!pskb_may_pull(skb, sizeof(*hdr)))) in ipv6_rcv()
|
D | ah6.c | 538 if (!pskb_may_pull(skb, sizeof(struct ip_auth_hdr))) in ah6_input() 560 if (!pskb_may_pull(skb, ah_hlen)) in ah6_input()
|
D | ip6_gre.c | 390 if (!pskb_may_pull(skb, grehlen)) in ip6gre_err() 460 if (!pskb_may_pull(skb, sizeof(struct in6_addr))) in ip6gre_rcv() 538 if (!pskb_may_pull(skb, ETH_HLEN)) { in ip6gre_rcv()
|
D | ip6_tunnel.c | 429 !pskb_may_pull(skb, raw - skb->data + off + sizeof (*hdr))) in ip6_tnl_parse_tlv_enc_lim() 609 if (!pskb_may_pull(skb, offset + sizeof(struct iphdr))) in ip4ip6_err() 688 if (rel_msg && pskb_may_pull(skb, offset + sizeof(struct ipv6hdr))) { in ip6ip6_err()
|
D | tcp_ipv6.c | 1384 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v6_rcv() 1391 if (!pskb_may_pull(skb, th->doff*4)) in tcp_v6_rcv() 1526 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v6_early_demux()
|
D | mcast.c | 1310 if (!pskb_may_pull(skb, sizeof(struct in6_addr))) in igmp6_event_query() 1353 if (!pskb_may_pull(skb, srcs_offset)) in igmp6_event_query() 1371 if (!pskb_may_pull(skb, srcs_offset + in igmp6_event_query() 1434 if (!pskb_may_pull(skb, sizeof(*mld) - sizeof(struct icmp6hdr))) in igmp6_event_report()
|
D | esp6.c | 339 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) { in esp6_input()
|
D | reassembly.c | 539 if (!pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_frag_rcv()
|
D | udp.c | 853 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in __udp6_lib_rcv()
|
D | ip6_output.c | 285 if (!pskb_may_pull(skb, (skb_network_header(skb) + in ip6_forward_proxy_check()
|
D | sit.c | 491 if (!pskb_may_pull(skb, ihl + sizeof(struct ipv6hdr) + 8)) in ipip6_err_gen_icmpv6_unreach()
|
D | ip6mr.c | 636 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) in pim6_rcv()
|
/linux-4.1.27/net/lapb/ |
D | lapb_subr.c | 123 if (!pskb_may_pull(skb, 2)) in lapb_decode() 156 if (!pskb_may_pull(skb, 2)) in lapb_decode() 169 if (!pskb_may_pull(skb, 2)) in lapb_decode()
|
/linux-4.1.27/net/ieee802154/ |
D | header_ops.c | 246 if (!pskb_may_pull(skb, 3)) in ieee802154_hdr_pull() 252 if (rc < 0 || !pskb_may_pull(skb, rc)) in ieee802154_hdr_pull() 260 if (!pskb_may_pull(skb, want)) in ieee802154_hdr_pull()
|
/linux-4.1.27/net/bridge/ |
D | br_multicast.c | 978 if (!pskb_may_pull(skb, sizeof(*ih))) in br_ip4_multicast_igmp3_report() 987 if (!pskb_may_pull(skb, len)) in br_ip4_multicast_igmp3_report() 995 if (!pskb_may_pull(skb, len)) in br_ip4_multicast_igmp3_report() 1033 if (!pskb_may_pull(skb, sizeof(*icmp6h))) in br_ip6_multicast_mld2_report() 1050 if (!pskb_may_pull(skb, in br_ip6_multicast_mld2_report() 1251 if (!pskb_may_pull(skb, sizeof(struct igmpv3_query))) { in br_ip4_multicast_query() 1338 if (!pskb_may_pull(skb, sizeof(*mld))) { in br_ip6_multicast_query() 1347 if (!pskb_may_pull(skb, sizeof(*mld2q))) { in br_ip6_multicast_query() 1567 if (!pskb_may_pull(skb, sizeof(*iph))) in br_multicast_ipv4_rcv() 1575 if (!pskb_may_pull(skb, ip_hdrlen(skb))) in br_multicast_ipv4_rcv() [all …]
|
D | br_stp_bpdu.c | 149 if (!pskb_may_pull(skb, 4)) in br_stp_rcv() 188 if (!pskb_may_pull(skb, 32)) in br_stp_rcv()
|
D | br_netfilter.c | 217 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in br_parse_ip_options() 226 if (!pskb_may_pull(skb, iph->ihl*4)) in br_parse_ip_options() 579 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in br_nf_pre_routing_ipv6() 627 if (unlikely(!pskb_may_pull(skb, len))) in br_nf_pre_routing()
|
D | br_input.c | 77 if (!pskb_may_pull(skb, arp_hdr_len(dev))) { in br_do_proxy_arp()
|
/linux-4.1.27/include/net/ |
D | 6lowpan.h | 234 if (unlikely(!pskb_may_pull(skb, 1))) in lowpan_fetch_skb_u8() 246 if (unlikely(!pskb_may_pull(skb, len))) in lowpan_fetch_skb()
|
/linux-4.1.27/net/802/ |
D | garp.c | 419 if (!pskb_may_pull(skb, sizeof(u8))) in garp_pdu_parse_end_mark() 436 if (!pskb_may_pull(skb, sizeof(*ga))) in garp_pdu_parse_attr() 442 if (!pskb_may_pull(skb, ga->len)) in garp_pdu_parse_attr() 485 if (!pskb_may_pull(skb, sizeof(*gm))) in garp_pdu_parse_msg() 516 if (!pskb_may_pull(skb, sizeof(*gp))) in garp_pdu_rcv()
|
D | psnap.c | 58 if (unlikely(!pskb_may_pull(skb, 5))) in snap_rcv()
|
/linux-4.1.27/net/irda/ |
D | irlap_frame.c | 177 if (pskb_may_pull(skb,sizeof(struct snrm_frame))) { in irlap_recv_snrm_cmd() 419 if (!pskb_may_pull(skb, sizeof(struct xid_frame))) { in irlap_recv_discovery_xid_rsp() 490 if (!pskb_may_pull(skb, sizeof(struct xid_frame))) { in irlap_recv_discovery_xid_cmd() 534 !pskb_may_pull(skb, 3)) { in irlap_recv_discovery_xid_cmd() 1156 if (!pskb_may_pull(skb, 4)) { in irlap_recv_frmr_frame() 1238 if (!pskb_may_pull(skb, sizeof(*frame))) { in irlap_recv_test_frame() 1313 if (!pskb_may_pull(skb, 2)) { in irlap_driver_rcv()
|
/linux-4.1.27/net/decnet/ |
D | dn_nsp_in.c | 251 if (!pskb_may_pull(skb, sizeof(*msg))) in dn_find_listener() 724 if (!pskb_may_pull(skb, 2)) in dn_nsp_rx_packet() 754 if (!pskb_may_pull(skb, 3)) in dn_nsp_rx_packet() 767 if (pskb_may_pull(skb, 5)) { in dn_nsp_rx_packet()
|
D | dn_route.c | 552 if (!pskb_may_pull(skb, 21)) /* 20 for long header, 1 for shortest nsp */ in dn_route_rx_long() 592 if (!pskb_may_pull(skb, 6)) /* 5 for short header + 1 for shortest nsp */ in dn_route_rx_short() 647 if (!pskb_may_pull(skb, 3)) in dn_route_rcv() 668 if (!pskb_may_pull(skb, padlen + 1)) in dn_route_rcv()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 131 if (unlikely(!pskb_may_pull(skb, sizeof(*arph)))) in ipvlan_get_L3_hdr() 143 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) in ipvlan_get_L3_hdr() 160 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) in ipvlan_get_L3_hdr() 515 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in ipvlan_queue_xmit()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_eth.c | 151 if (!pskb_may_pull(skb, length)) in l2tp_eth_dev_recv() 158 if (!pskb_may_pull(skb, ETH_HLEN)) in l2tp_eth_dev_recv()
|
D | l2tp_ip.c | 129 if (!pskb_may_pull(skb, 4)) in l2tp_ip_recv() 156 if (!pskb_may_pull(skb, length)) in l2tp_ip_recv() 169 if (!pskb_may_pull(skb, 12)) in l2tp_ip_recv()
|
D | l2tp_ip6.c | 141 if (!pskb_may_pull(skb, 4)) in l2tp_ip6_recv() 168 if (!pskb_may_pull(skb, length)) in l2tp_ip6_recv() 181 if (!pskb_may_pull(skb, 12)) in l2tp_ip6_recv()
|
D | l2tp_core.c | 768 if (!pskb_may_pull(skb, offset)) in l2tp_recv_common() 859 if (!pskb_may_pull(skb, L2TP_HDR_SIZE_SEQ)) { in l2tp_udp_recv_core() 869 if (!pskb_may_pull(skb, length)) in l2tp_udp_recv_core()
|
D | l2tp_ppp.c | 177 if (!pskb_may_pull(skb, 2)) in pppol2tp_recv_payload_hook()
|
/linux-4.1.27/net/dsa/ |
D | tag_brcm.c | 120 if (unlikely(!pskb_may_pull(skb, BRCM_TAG_LEN))) in brcm_tag_rcv()
|
D | tag_dsa.c | 92 if (unlikely(!pskb_may_pull(skb, DSA_HLEN))) in dsa_rcv()
|
D | tag_edsa.c | 105 if (unlikely(!pskb_may_pull(skb, EDSA_HLEN))) in edsa_rcv()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_input.c | 145 if (!pskb_may_pull(skb, sizeof(struct ip_comp_hdr))) in xfrm_parse_spi() 154 if (!pskb_may_pull(skb, hlen)) in xfrm_parse_spi()
|
/linux-4.1.27/drivers/net/usb/ |
D | int51x1.c | 53 if (!(pskb_may_pull(skb, INT51X1_HEADER_SIZE))) { in int51x1_rx_fixup()
|
D | sierra_net.c | 214 if (!pskb_may_pull(skb, ETH_HLEN)) in check_ethip_packet()
|
/linux-4.1.27/drivers/net/ppp/ |
D | pptp.c | 319 if (!pskb_may_pull(skb, headersize)) in pptp_rcv_core() 344 if (!pskb_may_pull(skb, headersize + payload_len)) in pptp_rcv_core() 391 if (!pskb_may_pull(skb, 12)) in pptp_rcv()
|
D | ppp_generic.c | 1660 if (!pskb_may_pull(skb, 2)) { in ppp_input() 1801 if (!pskb_may_pull(skb, skb->len)) in ppp_receive_nonmp_frame() 1888 if (!pskb_may_pull(skb, skb->len)) in ppp_decompress_frame() 1955 if (!pskb_may_pull(skb, mphdrlen + 1) || ppp->mrru == 0) in ppp_receive_mp_frame() 2026 if (pskb_may_pull(skb, 2)) in ppp_receive_mp_frame() 2447 if (!pskb_may_pull(skb, CCP_HDRLEN + 2)) in ppp_ccp_peek() 2483 if (!pskb_may_pull(skb, len + 2)) in ppp_ccp_peek()
|
D | pppoe.c | 432 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_rcv() 496 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_disc_rcv()
|
/linux-4.1.27/net/phonet/ |
D | af_phonet.c | 304 if (!pskb_may_pull(skb, 3)) in can_respond() 308 if (ph->pn_res == PN_PREFIX && !pskb_may_pull(skb, 5)) in can_respond()
|
D | pep.c | 68 if (ph == NULL || ph->sb_len < 2 || !pskb_may_pull(skb, ph->sb_len)) in pep_get_sb() 270 if (!pskb_may_pull(skb, sizeof(*hdr) + 4)) in pipe_rcv_status() 674 if (!pskb_may_pull(skb, sizeof(*hdr))) in pep_do_rcv() 798 if (!pskb_may_pull(skb, sizeof(*hdr) + 4)) in pep_sock_accept()
|
/linux-4.1.27/net/tipc/ |
D | msg.c | 210 if (unlikely(!pskb_may_pull(skb, MIN_H_SIZE))) in tipc_msg_validate() 216 if (unlikely(!pskb_may_pull(skb, hsz))) in tipc_msg_validate()
|
/linux-4.1.27/drivers/net/wan/ |
D | lapbether.c | 101 if (!pskb_may_pull(skb, 2)) in lapbeth_rcv()
|
D | dlci.c | 110 if (!pskb_may_pull(skb, sizeof(*hdr))) { in dlci_receive()
|
/linux-4.1.27/net/mac80211/ |
D | wep.c | 291 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) + in ieee80211_crypto_wep_decrypt()
|
D | wpa.c | 512 if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_CCMP_HDR_LEN)) in ieee80211_crypto_ccmp_decrypt() 735 if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_GCMP_HDR_LEN)) in ieee80211_crypto_gcmp_decrypt()
|
D | rx.c | 455 if (!pskb_may_pull(origskb, 2 + rtap_vendor_space)) { in ieee80211_rx_monitor() 2236 if (!pskb_may_pull(rx->skb, hdrlen + 6)) in ieee80211_rx_h_mesh_fwding() 2242 if (!pskb_may_pull(rx->skb, in ieee80211_rx_h_mesh_fwding() 2410 if (pskb_may_pull(rx->skb, in ieee80211_rx_h_data() 3479 err = !pskb_may_pull(skb, ieee80211_hdrlen(fc)); in __ieee80211_rx_handle_packet()
|
/linux-4.1.27/include/linux/ |
D | if_vlan.h | 501 if (unlikely(!pskb_may_pull(skb, in __vlan_get_protocol()
|
D | skbuff.h | 1724 static inline int pskb_may_pull(struct sk_buff *skb, unsigned int len) in pskb_may_pull() function 1983 return pskb_may_pull(skb, skb_network_offset(skb) + len); in pskb_network_may_pull()
|
D | netdevice.h | 2237 if (!pskb_may_pull(skb, hlen)) in skb_gro_header_slow()
|
/linux-4.1.27/net/wireless/ |
D | util.c | 456 if (!pskb_may_pull(skb, hdrlen + 1)) in ieee80211_data_to_8023() 482 if (!pskb_may_pull(skb, hdrlen + 1)) in ieee80211_data_to_8023() 501 if (!pskb_may_pull(skb, hdrlen + 8)) in ieee80211_data_to_8023()
|
/linux-4.1.27/drivers/net/hamradio/ |
D | bpqether.c | 192 if (!pskb_may_pull(skb, sizeof(struct ethhdr))) in bpq_rcv()
|
/linux-4.1.27/net/dccp/ |
D | ipv4.c | 746 if (!pskb_may_pull(skb, sizeof(struct dccp_hdr))) { in dccp_invalid_packet() 769 if (!pskb_may_pull(skb, dh->dccph_doff * sizeof(u32))) { in dccp_invalid_packet()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 1153 if (!pskb_may_pull(skb, plen)) in vxlan_remcsum() 1173 if (!pskb_may_pull(skb, VXLAN_HLEN)) in vxlan_udp_encap_recv() 1348 if (!pskb_may_pull(skb, arp_hdr_len(dev))) { in arp_reduce() 1592 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in route_shortcircuit() 1613 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in route_shortcircuit() 2064 pskb_may_pull(skb, sizeof(struct ipv6hdr) in vxlan_xmit()
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 113 if (!pskb_may_pull(skb, 12)) in mpls_egress() 162 if (!pskb_may_pull(skb, sizeof(*hdr))) in mpls_forward()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 597 if (!pskb_may_pull(clone, fhoff + sizeof(*fhdr))) { in nf_ct_frag6_gather()
|
/linux-4.1.27/net/ipx/ |
D | af_ipx.c | 1648 if (!pskb_may_pull(skb, sizeof(struct ipxhdr))) in ipx_rcv() 1655 !pskb_may_pull(skb, ipx_pktsize)) in ipx_rcv()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ptp.c | 1375 if (!pskb_may_pull(skb, PTP_V1_MIN_LENGTH)) { in efx_ptp_rx() 1390 if (!pskb_may_pull(skb, PTP_V2_MIN_LENGTH)) { in efx_ptp_rx()
|
/linux-4.1.27/drivers/hsi/clients/ |
D | ssi_protocol.c | 620 if (unlikely(!pskb_may_pull(skb, SSIP_MIN_PN_HDR))) { in ssip_pn_rx()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 625 if (unlikely(!pskb_may_pull(skb, VLAN_ETH_HLEN))) in fm10k_xmit_frame()
|
/linux-4.1.27/net/appletalk/ |
D | ddp.c | 1432 if (!pskb_may_pull(skb, sizeof(*ddp))) in atalk_rcv()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 4226 if (unlikely(!pskb_may_pull(skb, VLAN_HLEN))) in skb_vlan_untag() 4254 if (!pskb_may_pull(skb, write_len)) in skb_ensure_writable()
|
D | dev.c | 2418 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in skb_network_protocol()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 3103 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph)))) in bond_flow_dissect() 3112 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph6)))) in bond_flow_dissect()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | arp_tables.c | 264 if (!pskb_may_pull(skb, arp_hdr_len(skb->dev))) in arpt_do_table()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe.c | 1477 !pskb_may_pull(skb, FCOE_HEADER_LEN))) in fcoe_rcv()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 444 !pskb_may_pull(skb, FCOE_HEADER_LEN))) in bnx2fc_rcv()
|
/linux-4.1.27/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 865 if (unlikely(!pskb_may_pull(skb, ctx->copy_size))) in vmxnet3_parse_and_copy_hdr()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 1640 if (!pskb_may_pull(skb, ETH_HLEN)) { in e1000_clean_jumbo_rx_irq()
|