Liang Chen 151e887d8f veth: Fixing transmit return status for dropped packets
The veth_xmit function returns NETDEV_TX_OK even when packets are dropped.
This behavior leads to incorrect calculations of statistics counts, as
well as things like txq->trans_start updates.

Fixes: e314dbdc1c0d ("[NET]: Virtual ethernet device driver.")
Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-04 06:52:39 +01:00
..
2023-08-28 17:58:39 -07:00
2023-08-28 09:31:32 -07:00
2023-08-29 09:26:04 -07:00
2023-08-29 11:33:01 -07:00
2023-08-28 14:12:05 +02:00
2023-08-07 00:01:41 +05:30
2023-08-28 16:35:01 -07:00
2023-08-28 17:34:54 -07:00
2023-08-29 10:21:56 -07:00
2023-07-13 19:13:24 -07:00
2023-08-29 10:02:35 -07:00
2023-08-28 16:35:01 -07:00
2023-08-29 11:33:01 -07:00
2023-06-29 15:28:33 -07:00
2023-08-28 11:33:03 +02:00
2023-08-24 19:10:53 -07:00
2023-08-29 09:47:33 -07:00
2023-08-28 12:59:45 -07:00
2023-08-30 18:32:24 -07:00
2023-08-11 12:14:08 -07:00
2023-08-18 10:55:49 +05:30
2023-08-11 09:39:17 -07:00
2023-08-28 17:34:54 -07:00
2023-08-29 09:47:33 -07:00
2023-08-29 11:33:01 -07:00
2023-07-05 12:55:06 -07:00
2023-08-29 09:40:16 -07:00
2023-07-03 17:03:05 -07:00
2023-06-29 15:22:19 -07:00
2023-07-03 10:43:10 -07:00
2023-08-29 11:33:01 -07:00
2023-08-27 07:33:54 -07:00
2023-08-28 12:59:45 -07:00
2023-08-29 09:47:33 -07:00
2023-07-08 12:35:18 -07:00
2023-06-29 15:22:19 -07:00
2023-08-28 09:31:32 -07:00
2023-08-22 12:12:50 +02:00
2023-08-21 13:27:44 +02:00