• Julian Wiedmann's avatar
    net/af_iucv: build proper skbs for HiperTransport · 238965b7
    Julian Wiedmann authored
    The HiperSockets-based transport path in af_iucv is still too closely
    entangled with qeth.
    With commit a647a025 ("s390/qeth: speed-up L3 IQD xmit"), the
    relevant xmit code in qeth has begun to use skb_cow_head(). So to avoid
    unnecessary skb head expansions, af_iucv must learn to
    1) respect dev->needed_headroom when allocating skbs, and
    2) drop the header reference before cloning the skb.
    
    While at it, also stop hard-coding the LL-header creation stage and just
    use the appropriate helper.
    
    Fixes: a647a025 ("s390/qeth: speed-up L3 IQD xmit")
    Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    238965b7
af_iucv.c 59.5 KB