• David S. Miller's avatar
    net: Move main gso loop out of dev_hard_start_xmit() into helper. · 7f2e870f
    David S. Miller authored
    There is a slight policy change happening here as well.
    
    The previous code would drop the entire rest of the GSO skb if any of
    them got, for example, a congestion notification.
    
    That makes no sense, anything NET_XMIT_MASK and below is something
    like congestion or policing.  And in the congestion case it doesn't
    even mean the packet was actually dropped.
    
    Just continue until dev_xmit_complete() evaluates to false.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7f2e870f
dev.c 180 KB