Lines Matching refs:skb2
342 struct sk_buff *skb2 = NULL; in eem_wrap() local
364 skb2 = skb_copy_expand(skb, EEM_HLEN, ETH_FCS_LEN + padlen, GFP_ATOMIC); in eem_wrap()
366 skb = skb2; in eem_wrap()
401 struct sk_buff *skb2; in eem_unwrap() local
441 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
442 if (unlikely(!skb2)) { in eem_unwrap()
446 skb_trim(skb2, len); in eem_unwrap()
448 skb_push(skb2, 2)); in eem_unwrap()
449 skb_copy_bits(skb2, 0, req->buf, skb2->len); in eem_unwrap()
450 req->length = skb2->len; in eem_unwrap()
453 req->context = skb2; in eem_unwrap()
502 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
503 if (unlikely(!skb2)) { in eem_unwrap()
507 skb_trim(skb2, len - ETH_FCS_LEN); in eem_unwrap()
509 skb3 = skb_copy_expand(skb2, in eem_unwrap()
515 dev_kfree_skb_any(skb2); in eem_unwrap()
518 dev_kfree_skb_any(skb2); in eem_unwrap()