Home
last modified time | relevance | path

Searched refs:skb2 (Results 1 – 25 of 35) sorted by relevance

12

/net/netfilter/ipset/
A Dip_set_core.c1774 if (!skb2) in call_ad()
1927 if (!skb2) in ip_set_header()
1947 kfree_skb(skb2); in ip_set_header()
1981 if (!skb2) in ip_set_type()
2002 kfree_skb(skb2); in ip_set_type()
2023 if (!skb2) in ip_set_protocol()
2041 kfree_skb(skb2); in ip_set_protocol()
2065 if (!skb2) in ip_set_byname()
2083 kfree_skb(skb2); in ip_set_byname()
2113 if (!skb2) in ip_set_byindex()
[all …]
/net/xfrm/
A Dxfrm_device.c121 struct sk_buff *skb2, *nskb, *pskb = NULL; in validate_xmit_xfrm() local
197 skb_list_walk_safe(skb, skb2, nskb) { in validate_xmit_xfrm()
199 skb_mark_not_on_list(skb2); in validate_xmit_xfrm()
201 xo = xfrm_offload(skb2); in validate_xmit_xfrm()
204 xfrm_outer_mode_prep(x, skb2); in validate_xmit_xfrm()
208 skb2->next = nskb; in validate_xmit_xfrm()
211 skb2->next = nskb; in validate_xmit_xfrm()
212 kfree_skb_list(skb2); in validate_xmit_xfrm()
215 if (skb == skb2) in validate_xmit_xfrm()
223 skb_push(skb2, skb2->data - skb_mac_header(skb2)); in validate_xmit_xfrm()
[all …]
A Dxfrm_iptfs.c2249 if (skb2->len > remaining) in iptfs_output_queued()
2252 __skb_unlink(skb2, list); in iptfs_output_queued()
2263 kfree_skb(skb2); in iptfs_output_queued()
2272 shi2 = skb_shinfo(skb2); in iptfs_output_queued()
2277 skb_zcopy(skb2) || in iptfs_output_queued()
2282 skb->data_len += skb2->len; in iptfs_output_queued()
2283 skb->len += skb2->len; in iptfs_output_queued()
2284 remaining -= skb2->len; in iptfs_output_queued()
2292 *nextp = skb2; in iptfs_output_queued()
2293 nextp = &skb2->next; in iptfs_output_queued()
[all …]
/net/mctp/test/
A Droute-test.c57 struct sk_buff *skb2; in mctp_test_fragment() local
64 skb2 = skb_dequeue(&tpq.pkts); in mctp_test_fragment()
66 if (!skb2) in mctp_test_fragment()
69 hdr2 = mctp_hdr(skb2); in mctp_test_fragment()
99 kfree_skb(skb2); in mctp_test_fragment()
236 struct sk_buff *skb, *skb2; in mctp_test_route_input_sk() local
307 struct sk_buff *skb, *skb2; in mctp_test_route_input_sk_reasm() local
496 if (skb2) in mctp_test_route_input_sk_keys()
1002 kfree_skb(skb2); in mctp_test_packet_flow()
1171 cb2 = mctp_cb(skb2); in mctp_test_route_extaddr_input()
[all …]
/net/mac802154/
A Drx.c341 struct sk_buff *skb2; in __ieee802154_rx_handle_packet() local
363 skb2 = skb_clone(skb, GFP_ATOMIC); in __ieee802154_rx_handle_packet()
364 if (skb2) { in __ieee802154_rx_handle_packet()
365 skb2->dev = sdata->dev; in __ieee802154_rx_handle_packet()
366 ieee802154_subif_frame(sdata, skb2, &hdr); in __ieee802154_rx_handle_packet()
374 struct sk_buff *skb2; in ieee802154_monitors_rx() local
389 skb2 = skb_clone(skb, GFP_ATOMIC); in ieee802154_monitors_rx()
390 if (skb2) { in ieee802154_monitors_rx()
391 skb2->dev = sdata->dev; in ieee802154_monitors_rx()
392 ieee802154_deliver_skb(skb2); in ieee802154_monitors_rx()
/net/netfilter/
A Dnfnetlink_cttimeout.c284 struct sk_buff *skb2; in cttimeout_get_timeout() local
289 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in cttimeout_get_timeout()
290 if (skb2 == NULL) { in cttimeout_get_timeout()
295 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
300 kfree_skb(skb2); in cttimeout_get_timeout()
304 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_get_timeout()
438 struct sk_buff *skb2; in cttimeout_default_get() local
488 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in cttimeout_default_get()
489 if (!skb2) in cttimeout_default_get()
492 ret = cttimeout_default_fill_info(info->net, skb2, in cttimeout_default_get()
[all …]
A Dnfnetlink_acct.c298 struct sk_buff *skb2; in nfnl_acct_get() local
303 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in nfnl_acct_get()
304 if (skb2 == NULL) { in nfnl_acct_get()
309 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
314 kfree_skb(skb2); in nfnl_acct_get()
318 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_acct_get()
A Dnfnetlink_cthelper.c621 struct sk_buff *skb2; in nfnl_cthelper_get() local
659 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in nfnl_cthelper_get()
660 if (skb2 == NULL) { in nfnl_cthelper_get()
665 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
670 kfree_skb(skb2); in nfnl_cthelper_get()
674 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_cthelper_get()
A Dnf_tables_api.c1326 if (!skb2) in nf_tables_gettable()
1338 kfree_skb(skb2); in nf_tables_gettable()
2194 if (!skb2) in nf_tables_getchain()
2206 kfree_skb(skb2); in nf_tables_getchain()
3955 if (!skb2) in nf_tables_getrule_single()
3966 return skb2; in nf_tables_getrule_single()
5139 kfree_skb(skb2); in nf_tables_getset()
8555 if (!skb2) in nf_tables_getobj_single()
8566 return skb2; in nf_tables_getobj_single()
9611 if (!skb2) in nf_tables_getflowtable()
[all …]
A Dnft_compat.c685 struct sk_buff *skb2; in nfnl_compat_get_rcu() local
725 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in nfnl_compat_get_rcu()
726 if (skb2 == NULL) { in nfnl_compat_get_rcu()
732 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get_rcu()
737 kfree_skb(skb2); in nfnl_compat_get_rcu()
741 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_compat_get_rcu()
A Dnf_conntrack_netlink.c1680 struct sk_buff *skb2; in ctnetlink_get_conntrack() local
1717 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in ctnetlink_get_conntrack()
1718 if (!skb2) { in ctnetlink_get_conntrack()
1729 kfree_skb(skb2); in ctnetlink_get_conntrack()
2627 struct sk_buff *skb2; in ctnetlink_stat_ct() local
2630 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in ctnetlink_stat_ct()
2631 if (skb2 == NULL) in ctnetlink_stat_ct()
2639 kfree_skb(skb2); in ctnetlink_stat_ct()
3323 struct sk_buff *skb2; in ctnetlink_get_expect() local
3369 if (!skb2) { in ctnetlink_get_expect()
[all …]
/net/ipv6/
A Dicmp.c669 struct sk_buff *skb2; in ip6_err_gen_icmpv6_unreach() local
681 if (!skb2) in ip6_err_gen_icmpv6_unreach()
684 skb_dst_drop(skb2); in ip6_err_gen_icmpv6_unreach()
685 skb_pull(skb2, nhs); in ip6_err_gen_icmpv6_unreach()
686 skb_reset_network_header(skb2); in ip6_err_gen_icmpv6_unreach()
692 skb2->dev = rt->dst.dev; in ip6_err_gen_icmpv6_unreach()
700 __skb_push(skb2, nhs); in ip6_err_gen_icmpv6_unreach()
701 skb_reset_network_header(skb2); in ip6_err_gen_icmpv6_unreach()
702 memmove(skb2->data, skb2->data + nhs, data_len - nhs); in ip6_err_gen_icmpv6_unreach()
711 info, &temp_saddr, IP6CB(skb2)); in ip6_err_gen_icmpv6_unreach()
[all …]
A Dnetfilter.c221 struct sk_buff *skb2; in br_ip6_fragment() local
223 skb2 = ip6_frag_next(skb, &state); in br_ip6_fragment()
224 if (IS_ERR(skb2)) { in br_ip6_fragment()
225 err = PTR_ERR(skb2); in br_ip6_fragment()
229 skb_set_delivery_time(skb2, tstamp, tstamp_type); in br_ip6_fragment()
230 err = output(net, sk, data, skb2); in br_ip6_fragment()
A Dip6_tunnel.c565 struct sk_buff *skb2; in ip4ip6_err() local
601 if (!skb2) in ip4ip6_err()
604 skb_dst_drop(skb2); in ip4ip6_err()
606 skb_pull(skb2, offset); in ip4ip6_err()
608 eiph = ip_hdr(skb2); in ip4ip6_err()
617 skb2->dev = rt->dst.dev; in ip4ip6_err()
650 kfree_skb(skb2); in ip4ip6_err()
672 if (!skb2) in ip6ip6_err()
675 skb_dst_drop(skb2); in ip6ip6_err()
681 NULL, 0, skb2, 0); in ip6ip6_err()
[all …]
A Dip6_input.c544 struct sk_buff *skb2; in ip6_mc_input() local
578 skb2 = skb_clone(skb, GFP_ATOMIC); in ip6_mc_input()
580 skb2 = skb; in ip6_mc_input()
584 if (skb2) in ip6_mc_input()
585 ip6_mr_input(skb2); in ip6_mc_input()
A Dip6mr.c2231 if (skb2) in ip6_mr_forward()
2279 struct sk_buff *skb2; in ip6_mr_output_finish() local
2281 skb2 = skb_clone(skb, GFP_ATOMIC); in ip6_mr_output_finish()
2282 if (skb2) in ip6_mr_output_finish()
2443 struct sk_buff *skb2; in ip6mr_get_route() local
2456 if (!skb2) { in ip6mr_get_route()
2461 NETLINK_CB(skb2).portid = portid; in ip6mr_get_route()
2462 skb_reset_transport_header(skb2); in ip6mr_get_route()
2464 skb_put(skb2, sizeof(struct ipv6hdr)); in ip6mr_get_route()
2465 skb_reset_network_header(skb2); in ip6mr_get_route()
[all …]
/net/ipv4/
A Dip_output.c679 struct sk_buff *skb2; in ip_frag_next() local
693 if (!skb2) in ip_frag_next()
700 ip_copy_metadata(skb2, skb); in ip_frag_next()
703 skb_reset_network_header(skb2); in ip_frag_next()
704 skb2->transport_header = skb2->network_header + state->hlen; in ip_frag_next()
730 iph = ip_hdr(skb2); in ip_frag_next()
748 return skb2; in ip_frag_next()
763 struct sk_buff *skb2; in ip_do_fragment() local
903 if (IS_ERR(skb2)) { in ip_do_fragment()
904 err = PTR_ERR(skb2); in ip_do_fragment()
[all …]
A Dipmr.c2090 if (skb2) in ip_mr_forward()
2092 skb2, psend); in ip_mr_forward()
2102 if (skb2) in ip_mr_forward()
2214 if (!skb2) in ip_mr_input()
2216 skb = skb2; in ip_mr_input()
2270 struct sk_buff *skb2; in ip_mr_output_finish() local
2273 if (skb2) in ip_mr_output_finish()
2275 skb2, psend); in ip_mr_output_finish()
2423 struct sk_buff *skb2; in ipmr_get_route() local
2437 if (!skb2) { in ipmr_get_route()
[all …]
/net/caif/
A Dcfpkt_skbuff.c324 struct sk_buff *skb2; in cfpkt_split() local
343 skb2 = pkt_to_skb(tmppkt); in cfpkt_split()
346 if (skb2 == NULL) in cfpkt_split()
349 skb_put_data(skb2, split, len2nd); in cfpkt_split()
354 skb2->priority = skb->priority; in cfpkt_split()
355 return skb_to_pkt(skb2); in cfpkt_split()
/net/mctp/
A Droute.c1020 struct sk_buff *skb2; in mctp_do_fragment_route() local
1044 if (!skb2) { in mctp_do_fragment_route()
1050 skb2->protocol = skb->protocol; in mctp_do_fragment_route()
1052 skb2->dev = skb->dev; in mctp_do_fragment_route()
1053 memcpy(skb2->cb, skb->cb, sizeof(skb2->cb)); in mctp_do_fragment_route()
1059 skb_reserve(skb2, headroom); in mctp_do_fragment_route()
1061 skb_put(skb2, hlen + size); in mctp_do_fragment_route()
1062 skb2->transport_header = skb2->network_header + hlen; in mctp_do_fragment_route()
1065 hdr2 = mctp_hdr(skb2); in mctp_do_fragment_route()
1084 skb_ext_copy(skb2, skb); in mctp_do_fragment_route()
[all …]
/net/bridge/netfilter/
A Dnf_conntrack_bridge.c108 struct sk_buff *skb2; in nf_br_ip_fragment() local
110 skb2 = ip_frag_next(skb, &state); in nf_br_ip_fragment()
111 if (IS_ERR(skb2)) { in nf_br_ip_fragment()
112 err = PTR_ERR(skb2); in nf_br_ip_fragment()
116 skb_set_delivery_time(skb2, tstamp, tstamp_type); in nf_br_ip_fragment()
117 err = output(net, sk, data, skb2); in nf_br_ip_fragment()
/net/sched/
A Dsch_choke.c149 struct sk_buff *skb2) in choke_match_flow() argument
153 if (skb1->protocol != skb2->protocol) in choke_match_flow()
162 if (!choke_skb_cb(skb2)->keys_valid) { in choke_match_flow()
163 choke_skb_cb(skb2)->keys_valid = 1; in choke_match_flow()
164 skb_flow_dissect_flow_keys(skb2, &temp, 0); in choke_match_flow()
165 make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp); in choke_match_flow()
169 &choke_skb_cb(skb2)->keys, in choke_match_flow()
A Dsch_netem.c454 struct sk_buff *skb2 = NULL; in netem_enqueue() local
490 skb2 = skb_clone(skb, GFP_ATOMIC); in netem_enqueue()
529 if (skb2) in netem_enqueue()
530 __qdisc_drop(skb2, to_free); in netem_enqueue()
539 if (skb2) { in netem_enqueue()
544 rootq->enqueue(skb2, rootq, to_free); in netem_enqueue()
546 skb2 = NULL; in netem_enqueue()
617 if (skb2) in netem_enqueue()
618 __qdisc_drop(skb2, to_free); in netem_enqueue()
628 skb2 = segs->next; in netem_enqueue()
[all …]
/net/atm/
A Dlec.c143 struct sk_buff *skb2; in lec_handle_bridge() local
147 if (skb2 == NULL) in lec_handle_bridge()
209 struct sk_buff *skb2; in lec_start_xmit() local
239 if (unlikely(!skb2)) { in lec_start_xmit()
244 skb = skb2; in lec_start_xmit()
268 skb2 = skb_copy_expand(skb, 0, in lec_start_xmit()
272 if (skb2 == NULL) { in lec_start_xmit()
276 skb = skb2; in lec_start_xmit()
308 lec_send(vcc, skb2); in lec_start_xmit()
442 struct sk_buff *skb2; in lec_atm_send() local
[all …]
/net/netlink/
A Daf_netlink.c1455 if (p->skb2 == NULL) { in do_one_broadcast()
1464 skb_orphan(p->skb2); in do_one_broadcast()
1467 if (p->skb2 == NULL) { in do_one_broadcast()
1477 kfree_skb(p->skb2); in do_one_broadcast()
1478 p->skb2 = NULL; in do_one_broadcast()
1483 kfree_skb(p->skb2); in do_one_broadcast()
1484 p->skb2 = NULL; in do_one_broadcast()
1498 p->skb2 = NULL; in do_one_broadcast()
1526 info.skb2 = NULL; in netlink_broadcast_filtered()
1542 kfree_skb(info.skb2); in netlink_broadcast_filtered()
[all …]

Completed in 125 milliseconds

12