]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: et131x: In et131x_tx(), don't return NETDEV_TX_BUSY, just drop the packet
authorMark Einon <mark.einon@gmail.com>
Thu, 11 Sep 2014 21:59:40 +0000 (22:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:02:12 +0000 (16:02 -0700)
commit701b943e5cbcbaeb9d86947d9822f41755b1fe49
tree91998cac618979e94f839a0136cc67a46d075f6d
parent4792e6d136dc4a340cef1c713a3eb50bd0550764
staging: et131x: In et131x_tx(), don't return NETDEV_TX_BUSY, just drop the packet

Memory allocation errors do not denote NETDEV_TX_BUSY, simply drop
the packet silently with kfree_skb() and return NETDEV_TX_OK.

Also remove this item from the TODO list.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c