Lines Matching refs:skb2
341 struct sk_buff *skb2 = NULL; in eem_wrap() local
363 skb2 = skb_copy_expand(skb, EEM_HLEN, ETH_FCS_LEN + padlen, GFP_ATOMIC); in eem_wrap()
365 skb = skb2; in eem_wrap()
400 struct sk_buff *skb2; in eem_unwrap() local
442 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
443 if (unlikely(!skb2)) { in eem_unwrap()
447 skb_trim(skb2, len); in eem_unwrap()
449 skb_push(skb2, 2)); in eem_unwrap()
454 dev_kfree_skb_any(skb2); in eem_unwrap()
458 req->buf = kmalloc(skb2->len, GFP_KERNEL); in eem_unwrap()
461 dev_kfree_skb_any(skb2); in eem_unwrap()
469 dev_kfree_skb_any(skb2); in eem_unwrap()
472 ctx->skb = skb2; in eem_unwrap()
475 skb_copy_bits(skb2, 0, req->buf, skb2->len); in eem_unwrap()
476 req->length = skb2->len; in eem_unwrap()
528 skb2 = skb_clone(skb, GFP_ATOMIC); in eem_unwrap()
529 if (unlikely(!skb2)) { in eem_unwrap()
533 skb_trim(skb2, len - ETH_FCS_LEN); in eem_unwrap()
535 skb3 = skb_copy_expand(skb2, in eem_unwrap()
540 dev_kfree_skb_any(skb2); in eem_unwrap()
543 dev_kfree_skb_any(skb2); in eem_unwrap()