commit | 538961d1092fd11e4e955d738ac63d1edaaa7364 | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Wed Dec 05 14:54:41 2018 +0100 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Dec 07 14:30:06 2018 +0200 |
tree | 1ba8f168246dc8f520b070f6d864f9b92d9384e4 | |
parent | 76fa82f7ab5bf451aa42eca5a560a0d2933e1f03 [diff] |
drivers/ethernet: Remove double unref from stellaris driver It's now either L2 which unref the pkt on successful tx, or net_if on error. Also removing pkt->frags check, net_core.c:net_send_data() does it already. And using data_len in logging instead of net_pkt_get_len(), which one is currently greedy (it goes over all net_bufs). Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>