*/staticinlineintbcm_fast_path_output(struct sk_buff *skb){structdst_entry*dst=skb->dst;structnet_device*dev=dst->dev;inthh_len = LL_RESERVED_SPACE(dev);intret =0;/* Be paranoid, rather than too clever. */if(unlikely(skb_headroom(skb) < hh_len && dev->hard_header)) {structsk_...
if (unlikely(skb_headroom(skb) < hh_len && bdev->hard_header)) { struct sk_buff *skb2; skb2 = skb_realloc_headroom(skb, LL_RESERVED_SPACE(dev)); if (skb2 == NULL) { stats->tx_dropped++; dev_kfree_skb(skb); return 0; } if (skb->sk) skb_set_owner_w(skb2, skb->sk)...
}if(skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) { dev_dbg(priv->adapter->dev,"data: Tx: insufficient skb headroom %d\n", skb_headroom(skb));/* Insufficient skb headroom - allocate a new skb */new_skb =skb_realloc_headroom(skb, MWIFIEX_MIN_DATA_HEADER_LEN);if(unlikely(!ne...
*/staticinlineintbcm_fast_path_output(struct sk_buff *skb){structdst_entry*dst=skb->dst;structnet_device*dev=dst->dev;inthh_len = LL_RESERVED_SPACE(dev);intret =0;/* Be paranoid, rather than too clever. */if(unlikely(skb_headroom(skb) < hh_len && dev->hard_header)) {structsk_...