Lines Matching refs:skb2
352 struct sk_buff *skb2 = NULL; in eem_wrap() local
370 skb2 = skb_copy_expand(skb, EEM_HLEN, ETH_FCS_LEN + padlen, GFP_ATOMIC); in eem_wrap()
372 skb = skb2; in eem_wrap()
407 struct sk_buff *skb2; in eem_unwrap() local
447 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
448 if (unlikely(!skb2)) { in eem_unwrap()
452 skb_trim(skb2, len); in eem_unwrap()
454 skb_push(skb2, 2)); in eem_unwrap()
455 skb_copy_bits(skb2, 0, req->buf, skb2->len); in eem_unwrap()
456 req->length = skb2->len; in eem_unwrap()
459 req->context = skb2; in eem_unwrap()
508 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
509 if (unlikely(!skb2)) { in eem_unwrap()
513 skb_trim(skb2, len - ETH_FCS_LEN); in eem_unwrap()
515 skb3 = skb_copy_expand(skb2, in eem_unwrap()
521 dev_kfree_skb_any(skb2); in eem_unwrap()
524 dev_kfree_skb_any(skb2); in eem_unwrap()