• Nathan Fontenot's avatar
    ibmvnic: Clean up tx pools when closing · b41b83e9
    Nathan Fontenot authored
    When closing the ibmvnic driver, most notably during the reset
    path, the tx pools need to be cleaned to ensure there are no
    hanging skbs that need to be free'ed.
    
    The need for this was found during debugging a loss of network
    traffic after handling a driver reset. The underlying cause was
    some skbs in the tx pool that were never free'ed. As a
    result the upper network layers never tried a re-send since it
    believed the driver still had the skb.
    Signed-off-by: default avatarNathan Fontenot <nfont@linux.vnet.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b41b83e9
ibmvnic.c 101 KB