Home
last modified time | relevance | path

Searched refs:pskb_may_pull (Results 1 – 125 of 125) sorted by relevance

/linux-4.4.14/net/ipv6/
Dmcast_snoop.c32 if (!pskb_may_pull(skb, offset)) in ipv6_mc_check_ip6hdr()
80 return pskb_may_pull(skb, len) ? 0 : -EINVAL; in ipv6_mc_check_mld_reportv2()
100 if (skb->len < len || !pskb_may_pull(skb, len)) in ipv6_mc_check_mld_query()
156 if (!pskb_may_pull(skb_chk, len)) in __ipv6_mc_check_mld()
Dila.c54 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct tcphdr)))) { in update_ipv6_locator()
64 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct udphdr)))) { in update_ipv6_locator()
78 if (likely(pskb_may_pull(skb, in update_ipv6_locator()
Dtunnel6.c105 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel6_rcv()
123 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
Dexthdrs.c258 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()
Dxfrm6_policy.c147 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { in _decode_session6()
168 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { in _decode_session6()
181 pskb_may_pull(skb, nh + offset + 2 - skb->data))) { in _decode_session6()
196 pskb_may_pull(skb, nh + offset + 3 - skb->data))) { in _decode_session6()
Dip6_offload.c40 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()
Dtcpv6_offload.c49 if (!pskb_may_pull(skb, sizeof(*th))) in tcp6_gso_segment()
Dxfrm6_mode_tunnel.c77 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in xfrm6_mode_tunnel_input()
Dicmp.c642 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_notify()
657 if (!pskb_may_pull(skb, inner_offset+8)) in icmpv6_notify()
699 if (!pskb_may_pull(skb, sizeof(*hdr) + sizeof(struct ipv6hdr))) in icmpv6_rcv()
746 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_rcv()
Dudp_offload.c70 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in udp6_ufo_fragment()
Dip6_input.c104 if (unlikely(!pskb_may_pull(skb, sizeof(*hdr)))) in ipv6_rcv()
Dah6.c538 if (!pskb_may_pull(skb, sizeof(struct ip_auth_hdr))) in ah6_input()
560 if (!pskb_may_pull(skb, ah_hlen)) in ah6_input()
Dip6_tunnel.c488 !pskb_may_pull(skb, raw - skb->data + off + sizeof (*hdr))) in ip6_tnl_parse_tlv_enc_lim()
668 if (!pskb_may_pull(skb, offset + sizeof(struct iphdr))) in ip4ip6_err()
747 if (rel_msg && pskb_may_pull(skb, offset + sizeof(struct ipv6hdr))) { in ip6ip6_err()
Dip6_gre.c390 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()
Dtcp_ipv6.c1363 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v6_rcv()
1370 if (!pskb_may_pull(skb, th->doff*4)) in tcp_v6_rcv()
1538 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v6_early_demux()
Dmcast.c1310 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()
Desp6.c371 if (!pskb_may_pull(skb, sizeof(*esph) + ivlen)) { in esp6_input()
Dreassembly.c537 if (!pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_frag_rcv()
Dudp.c856 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in __udp6_lib_rcv()
Dip6_output.c297 if (!pskb_may_pull(skb, (skb_network_header(skb) + in ip6_forward_proxy_check()
Dsit.c491 if (!pskb_may_pull(skb, ihl + sizeof(struct ipv6hdr) + 8)) in ipip6_err_gen_icmpv6_unreach()
Dip6mr.c635 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) in pim6_rcv()
/linux-4.4.14/net/sched/
Dact_nat.c118 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat()
158 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat()
173 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat()
192 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat()
202 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat()
Dact_csum.c107 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
329 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
431 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6()
446 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6()
450 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6()
486 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()
/linux-4.4.14/net/bridge/netfilter/
Dnf_tables_bridge.c27 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()
Dnft_reject_bridge.c99 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.4.14/net/ipv4/
Dxfrm4_policy.c129 pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4()
142 pskb_may_pull(skb, xprth + 2 - skb->data)) { in _decode_session4()
155 pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4()
167 pskb_may_pull(skb, xprth + 8 - skb->data)) { in _decode_session4()
179 pskb_may_pull(skb, xprth + 4 - skb->data)) { in _decode_session4()
191 pskb_may_pull(skb, xprth + 12 - skb->data)) { in _decode_session4()
Dtunnel4.c94 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
113 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel64_rcv()
Dxfrm4_mode_beet.c94 if (!pskb_may_pull(skb, sizeof(*ph))) in xfrm4_beet_input()
106 if (!pskb_may_pull(skb, phlen)) in xfrm4_beet_input()
Dgre_offload.c46 if (unlikely(!pskb_may_pull(skb, sizeof(*greh)))) in gre_gso_segment()
63 if (unlikely(!pskb_may_pull(skb, ghl))) in gre_gso_segment()
Dip_input.c397 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in ip_rcv()
423 if (!pskb_may_pull(skb, iph->ihl*4)) in ip_rcv()
Dgre_demux.c69 if (!pskb_may_pull(skb, 12)) in gre_rcv()
Dtcp_offload.c35 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp4_gso_segment()
74 if (!pskb_may_pull(skb, thlen)) in tcp_gso_segment()
Dxfrm4_mode_tunnel.c78 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in xfrm4_mode_tunnel_input()
Dxfrm4_input.c87 if (!pskb_may_pull(skb, sizeof(struct udphdr) + min(len, 8))) in xfrm4_udp_encap_rcv()
Dicmp.c746 if (!pskb_may_pull(skb, iph->ihl * 4 + 8)) { in icmp_socket_deliver()
788 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in icmp_unreach()
884 if (!pskb_may_pull(skb, sizeof(struct iphdr))) { in icmp_redirect()
990 if (!pskb_may_pull(skb, sizeof(*icmph) + sizeof(struct iphdr))) in icmp_rcv()
Dip_tunnel_core.c91 if (unlikely(!pskb_may_pull(skb, hdr_len))) in iptunnel_pull_header()
99 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in iptunnel_pull_header()
Dudp_offload.c49 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()
Dipconfig.c515 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv()
535 if (!pskb_may_pull(skb, arp_hdr_len(dev))) in ic_rarp_recv()
980 if (!pskb_may_pull(skb, in ic_bootp_recv()
1018 if (!pskb_may_pull(skb, skb->len)) in ic_bootp_recv()
Dfou.c89 if (!pskb_may_pull(skb, plen)) in gue_remcsum()
118 if (!pskb_may_pull(skb, len)) in gue_udp_recv()
126 if (!pskb_may_pull(skb, len)) in gue_udp_recv()
Digmp.c928 if (!pskb_may_pull(skb, sizeof(struct igmpv3_query))) in igmp_heard_query()
933 if (!pskb_may_pull(skb, sizeof(struct igmpv3_query) in igmp_heard_query()
1003 if (!pskb_may_pull(skb, sizeof(struct igmphdr))) in igmp_rcv()
1368 if (!pskb_may_pull(skb, offset)) in ip_mc_check_iphdr()
1378 if (!pskb_may_pull(skb, offset)) in ip_mc_check_iphdr()
1401 return pskb_may_pull(skb, len) ? 0 : -EINVAL; in ip_mc_check_igmp_reportv3()
1416 if (skb->len < len || !pskb_may_pull(skb, len)) in ip_mc_check_igmp_query()
1467 if (!pskb_may_pull(skb_chk, len)) in __ip_mc_check_igmp()
Dah4.c317 if (!pskb_may_pull(skb, sizeof(*ah))) in ah_input()
337 if (!pskb_may_pull(skb, ah_hlen)) in ah_input()
Dip_gre.c191 if (unlikely(!pskb_may_pull(skb, sizeof(struct gre_base_hdr)))) in parse_gre_header()
201 if (!pskb_may_pull(skb, hdr_len)) in parse_gre_header()
239 if (!pskb_may_pull(skb, hdr_len)) in parse_gre_header()
Dtcp_ipv4.c1447 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct tcphdr))) in tcp_v4_early_demux()
1548 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp_v4_rcv()
1555 if (!pskb_may_pull(skb, th->doff * 4)) in tcp_v4_rcv()
Daf_inet.c1228 if (unlikely(!pskb_may_pull(skb, sizeof(*iph)))) in inet_gso_segment()
1240 if (unlikely(!pskb_may_pull(skb, ihl))) in inet_gso_segment()
Desp4.c422 if (!pskb_may_pull(skb, sizeof(*esph) + ivlen)) in esp_input()
Dip_fragment.c710 if (!pskb_may_pull(skb, netoff + iph.ihl * 4)) in ip_check_defrag()
Darp.c904 if (!pskb_may_pull(skb, arp_hdr_len(dev))) in arp_rcv()
Dudp.c1768 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in __udp4_lib_rcv()
1980 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(struct udphdr))) in udp_v4_early_demux()
Dipmr.c2098 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv_v1()
2125 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv()
/linux-4.4.14/net/llc/
Dllc_input.c116 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.4.14/net/x25/
Dx25_in.c112 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()
Dx25_dev.c37 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()
Dx25_subr.c276 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()
Dx25_facilities.c65 if (!pskb_may_pull(skb, 1)) in x25_parse_facilities()
70 if (!pskb_may_pull(skb, 1 + len)) in x25_parse_facilities()
Daf_x25.c96 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()
Dx25_link.c95 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 4)) in x25_link_control()
/linux-4.4.14/net/openvswitch/
Dflow.c186 if (unlikely(!pskb_may_pull(skb, len))) in check_header()
193 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok()
221 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok()
234 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok()
240 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok()
246 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok()
301 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok()
316 if (unlikely(!pskb_may_pull(skb, sizeof(struct qtag_prefix) + in parse_vlan()
348 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) in parse_ethertype()
/linux-4.4.14/net/batman-adv/
Dgateway_client.c681 if (!pskb_may_pull(skb, *header_len + ETH_HLEN)) in batadv_gw_dhcp_recipient_get()
690 if (!pskb_may_pull(skb, *header_len + VLAN_HLEN)) in batadv_gw_dhcp_recipient_get()
701 if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr))) in batadv_gw_dhcp_recipient_get()
713 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get()
728 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) in batadv_gw_dhcp_recipient_get()
753 pskb_may_pull(skb, chaddr_offset + ETH_ALEN)) { in batadv_gw_dhcp_recipient_get()
Drouting.c181 if (unlikely(!pskb_may_pull(skb, header_len))) in batadv_check_management_packet()
332 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet()
421 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet()
716 if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) in batadv_check_unicast_ttvn()
1034 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
Dmulticast.c302 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4()
340 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
Dsoft-interface.c399 if (!pskb_may_pull(skb, hdr_size)) in batadv_interface_rx()
410 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in batadv_interface_rx()
418 if (!pskb_may_pull(skb, VLAN_ETH_HLEN)) in batadv_interface_rx()
Ddistributed-arp-table.c849 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) in batadv_arp_get_type()
858 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN + in batadv_arp_get_type()
Dmain.c403 if (unlikely(!pskb_may_pull(skb, 2))) in batadv_batman_skb_recv()
1210 if (!pskb_may_pull(skb, header_len + VLAN_ETH_HLEN)) in batadv_get_vid()
Dbridge_loop_avoidance.c917 if (unlikely(!pskb_may_pull(skb, headlen + arp_hdr_len(skb->dev)))) in batadv_bla_process_claim()
1418 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_bla_is_backbone_gw()
Dnetwork-coding.c1580 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) in batadv_nc_skb_store_for_decoding()
1802 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_nc_recv_coded_packet()
/linux-4.4.14/net/lapb/
Dlapb_subr.c123 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.4.14/net/ieee802154/
Dheader_ops.c246 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.4.14/net/802/
Dgarp.c419 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()
Dpsnap.c58 if (unlikely(!pskb_may_pull(skb, 5))) in snap_rcv()
/linux-4.4.14/net/irda/
Dirlap_frame.c177 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.4.14/net/bridge/
Dbr_stp_bpdu.c155 if (!pskb_may_pull(skb, 4)) in br_stp_rcv()
194 if (!pskb_may_pull(skb, 32)) in br_stp_rcv()
Dbr_netfilter_ipv6.c110 if (!pskb_may_pull(skb, ip6h_len)) in br_validate_ipv6()
Dbr_netfilter_hooks.c195 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in br_validate_ipv4()
204 if (!pskb_may_pull(skb, iph->ihl*4)) in br_validate_ipv4()
473 if (unlikely(!pskb_may_pull(skb, len))) in br_nf_pre_routing()
Dbr_multicast.c1013 if (!pskb_may_pull(skb, len)) in br_ip4_multicast_igmp3_report()
1021 if (!pskb_may_pull(skb, len)) in br_ip4_multicast_igmp3_report()
1065 if (!pskb_may_pull(skb, sizeof(*icmp6h))) in br_ip6_multicast_mld2_report()
1082 if (!pskb_may_pull(skb, in br_ip6_multicast_mld2_report()
1363 if (!pskb_may_pull(skb, offset + sizeof(*mld))) { in br_ip6_multicast_query()
1372 if (!pskb_may_pull(skb, offset + sizeof(*mld2q))) { in br_ip6_multicast_query()
Dbr_input.c83 if (!pskb_may_pull(skb, arp_hdr_len(dev))) { in br_do_proxy_arp()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c129 if (unlikely(!pskb_may_pull(skb, sizeof(*arph)))) in ipvlan_get_L3_hdr()
141 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) in ipvlan_get_L3_hdr()
158 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) in ipvlan_get_L3_hdr()
541 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in ipvlan_queue_xmit()
/linux-4.4.14/net/decnet/
Ddn_nsp_in.c251 if (!pskb_may_pull(skb, sizeof(*msg))) in dn_find_listener()
725 if (!pskb_may_pull(skb, 2)) in dn_nsp_rx_packet()
755 if (!pskb_may_pull(skb, 3)) in dn_nsp_rx_packet()
768 if (pskb_may_pull(skb, 5)) { in dn_nsp_rx_packet()
Ddn_route.c552 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.4.14/include/net/
D6lowpan.h172 if (unlikely(!pskb_may_pull(skb, len))) in lowpan_fetch_skb()
/linux-4.4.14/net/dsa/
Dtag_brcm.c111 if (unlikely(!pskb_may_pull(skb, BRCM_TAG_LEN))) in brcm_tag_rcv()
Dtag_dsa.c86 if (unlikely(!pskb_may_pull(skb, DSA_HLEN))) in dsa_rcv()
Dtag_edsa.c99 if (unlikely(!pskb_may_pull(skb, EDSA_HLEN))) in edsa_rcv()
/linux-4.4.14/net/l2tp/
Dl2tp_eth.c151 if (!pskb_may_pull(skb, length)) in l2tp_eth_dev_recv()
158 if (!pskb_may_pull(skb, ETH_HLEN)) in l2tp_eth_dev_recv()
Dl2tp_ip.c126 if (!pskb_may_pull(skb, 4)) in l2tp_ip_recv()
155 if (!pskb_may_pull(skb, length)) in l2tp_ip_recv()
171 if (!pskb_may_pull(skb, 12)) in l2tp_ip_recv()
Dl2tp_ip6.c138 if (!pskb_may_pull(skb, 4)) in l2tp_ip6_recv()
167 if (!pskb_may_pull(skb, length)) in l2tp_ip6_recv()
183 if (!pskb_may_pull(skb, 12)) in l2tp_ip6_recv()
Dl2tp_core.c768 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()
Dl2tp_ppp.c177 if (!pskb_may_pull(skb, 2)) in pppol2tp_recv_payload_hook()
/linux-4.4.14/net/xfrm/
Dxfrm_input.c145 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.4.14/drivers/net/usb/
Dint51x1.c53 if (!(pskb_may_pull(skb, INT51X1_HEADER_SIZE))) { in int51x1_rx_fixup()
Dsierra_net.c214 if (!pskb_may_pull(skb, ETH_HLEN)) in check_ethip_packet()
/linux-4.4.14/drivers/net/ppp/
Dpptp.c318 if (!pskb_may_pull(skb, headersize)) in pptp_rcv_core()
343 if (!pskb_may_pull(skb, headersize + payload_len)) in pptp_rcv_core()
390 if (!pskb_may_pull(skb, 12)) in pptp_rcv()
Dppp_generic.c1707 if (!pskb_may_pull(skb, 2)) { in ppp_input()
1848 if (!pskb_may_pull(skb, skb->len)) in ppp_receive_nonmp_frame()
1937 if (!pskb_may_pull(skb, skb->len)) in ppp_decompress_frame()
2004 if (!pskb_may_pull(skb, mphdrlen + 1) || ppp->mrru == 0) in ppp_receive_mp_frame()
2075 if (pskb_may_pull(skb, 2)) in ppp_receive_mp_frame()
2498 if (!pskb_may_pull(skb, CCP_HDRLEN + 2)) in ppp_ccp_peek()
2534 if (!pskb_may_pull(skb, len + 2)) in ppp_ccp_peek()
Dpppoe.c432 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.4.14/net/phonet/
Daf_phonet.c304 if (!pskb_may_pull(skb, 3)) in can_respond()
308 if (ph->pn_res == PN_PREFIX && !pskb_may_pull(skb, 5)) in can_respond()
Dpep.c68 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.4.14/net/mpls/
Daf_mpls.c119 if (!pskb_may_pull(skb, sizeof(*hdr) * label_index)) in mpls_select_multipath()
145 if (bos && pskb_may_pull(skb, sizeof(*hdr) * label_index + in mpls_select_multipath()
156 pskb_may_pull(skb, sizeof(*hdr) * label_index + in mpls_select_multipath()
191 if (!pskb_may_pull(skb, 12)) in mpls_egress()
250 if (!pskb_may_pull(skb, sizeof(*hdr))) in mpls_forward()
/linux-4.4.14/net/tipc/
Dmsg.c209 if (unlikely(!pskb_may_pull(skb, MIN_H_SIZE))) in tipc_msg_validate()
215 if (unlikely(!pskb_may_pull(skb, hsz))) in tipc_msg_validate()
/linux-4.4.14/drivers/net/wan/
Dlapbether.c100 if (!pskb_may_pull(skb, 2)) in lapbeth_rcv()
Ddlci.c110 if (!pskb_may_pull(skb, sizeof(*hdr))) { in dlci_receive()
/linux-4.4.14/net/mac80211/
Dwep.c291 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) + in ieee80211_crypto_wep_decrypt()
Dwpa.c515 if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_CCMP_HDR_LEN)) in ieee80211_crypto_ccmp_decrypt()
741 if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_GCMP_HDR_LEN)) in ieee80211_crypto_gcmp_decrypt()
Drx.c505 if (!pskb_may_pull(origskb, 2 + rtap_vendor_space)) { in ieee80211_rx_monitor()
2259 if (!pskb_may_pull(rx->skb, hdrlen + 6)) in ieee80211_rx_h_mesh_fwding()
2265 if (!pskb_may_pull(rx->skb, in ieee80211_rx_h_mesh_fwding()
2431 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.4.14/include/linux/
Dif_vlan.h501 if (unlikely(!pskb_may_pull(skb, in __vlan_get_protocol()
Dskbuff.h1851 static inline int pskb_may_pull(struct sk_buff *skb, unsigned int len) in pskb_may_pull() function
2134 return pskb_may_pull(skb, skb_network_offset(skb) + len); in pskb_network_may_pull()
Dnetdevice.h2294 if (!pskb_may_pull(skb, hlen)) in skb_gro_header_slow()
/linux-4.4.14/net/wireless/
Dutil.c456 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.4.14/drivers/net/hamradio/
Dbpqether.c191 if (!pskb_may_pull(skb, sizeof(struct ethhdr))) in bpq_rcv()
/linux-4.4.14/net/dccp/
Dipv4.c704 if (!pskb_may_pull(skb, sizeof(struct dccp_hdr))) { in dccp_invalid_packet()
727 if (!pskb_may_pull(skb, dh->dccph_doff * sizeof(u32))) { in dccp_invalid_packet()
/linux-4.4.14/drivers/net/
Dvxlan.c1140 if (!pskb_may_pull(skb, plen)) in vxlan_remcsum()
1256 if (!pskb_may_pull(skb, VXLAN_HLEN)) in vxlan_udp_encap_recv()
1361 if (!pskb_may_pull(skb, arp_hdr_len(dev))) { in arp_reduce()
1605 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in route_shortcircuit()
1626 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in route_shortcircuit()
2157 pskb_may_pull(skb, sizeof(struct ipv6hdr) in vxlan_xmit()
Dgeneve.c312 if (unlikely(!pskb_may_pull(skb, GENEVE_BASE_HLEN))) in geneve_udp_encap_recv()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_conntrack_reasm.c595 if (!pskb_may_pull(clone, fhoff + sizeof(*fhdr))) { in nf_ct_frag6_gather()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c1385 if (!pskb_may_pull(skb, PTP_V1_MIN_LENGTH)) { in efx_ptp_rx()
1400 if (!pskb_may_pull(skb, PTP_V2_MIN_LENGTH)) { in efx_ptp_rx()
/linux-4.4.14/net/ipx/
Daf_ipx.c1648 if (!pskb_may_pull(skb, sizeof(struct ipxhdr))) in ipx_rcv()
1655 !pskb_may_pull(skb, ipx_pktsize)) in ipx_rcv()
/linux-4.4.14/net/core/
Dskbuff.c4102 if (!pskb_may_pull(skb_chk, offset)) in skb_checksum_trimmed()
4312 if (unlikely(!pskb_may_pull(skb, VLAN_HLEN))) in skb_vlan_untag()
4340 if (!pskb_may_pull(skb, write_len)) in skb_ensure_writable()
Ddev.c2481 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in skb_network_protocol()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c625 if (unlikely(!pskb_may_pull(skb, VLAN_ETH_HLEN))) in fm10k_xmit_frame()
/linux-4.4.14/drivers/hsi/clients/
Dssi_protocol.c620 if (unlikely(!pskb_may_pull(skb, SSIP_MIN_PN_HDR))) { in ssip_pn_rx()
/linux-4.4.14/net/appletalk/
Dddp.c1432 if (!pskb_may_pull(skb, sizeof(*ddp))) in atalk_rcv()
/linux-4.4.14/net/ipv4/netfilter/
Darp_tables.c265 if (!pskb_may_pull(skb, arp_hdr_len(skb->dev))) in arpt_do_table()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c3114 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph)))) in bond_flow_dissect()
3122 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph6)))) in bond_flow_dissect()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1476 !pskb_may_pull(skb, FCOE_HEADER_LEN))) in fcoe_rcv()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c444 !pskb_may_pull(skb, FCOE_HEADER_LEN))) in bnx2fc_rcv()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_drv.c885 if (unlikely(!pskb_may_pull(skb, ctx->copy_size))) in vmxnet3_parse_and_copy_hdr()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c1640 if (!pskb_may_pull(skb, ETH_HLEN)) { in e1000_clean_jumbo_rx_irq()