ibmvnic: Free skb's in cases of failure in transmit
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Fri, 21 Apr 2017 19:39:16 +0000 (15:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:52:14 +0000 (12:52 -0400)
commit7f5b030830fecc4a2a235804a15b395720b48a24
tree6b65a28fb9b698303ce9413b70f69bbb8c873435
parent3ca1993264503957f81f3846598b16601b1e9457
ibmvnic: Free skb's in cases of failure in transmit

When an error is encountered during transmit we need to free the
skb instead of returning TX_BUSY.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c