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-18 06:08:58 +10:00
2023-08-28 17:58:39 -07:00
2023-08-28 09:31:32 -07:00
2023-08-02 17:01:12 +09:00
2023-08-19 21:53:49 +02:00
2023-08-29 09:26:04 -07:00
2023-08-29 11:33:01 -07:00
2023-08-24 12:24:37 -07:00
2023-08-02 10:49:57 +03:00
2023-08-29 11:23:29 -07:00
2023-08-22 15:25:18 -07:00
2023-06-30 09:37:26 -07:00
2023-07-23 11:34:22 +01:00
2023-08-04 15:17:29 +02:00
2023-08-28 14:12:05 +02:00
2023-08-25 21:15:56 +02:00
2023-08-29 11:23:29 -07:00
2023-07-28 13:16:54 -06:00
2023-08-10 22:48:16 +09:00
2023-08-07 00:01:41 +05:30
2023-08-23 10:22:49 +02:00
2023-08-28 16:35:01 -07:00
2023-07-27 10:04:42 -07:00
2023-08-28 17:34:54 -07:00
2023-07-03 12:46:47 -07:00
2023-08-29 10:21:56 -07:00
2023-08-25 09:12:02 +10:00
2023-07-13 19:13:24 -07:00
2023-07-31 23:17:57 +02:00
2023-08-29 10:02:35 -07:00
2023-07-03 12:46:47 -07:00
2023-08-14 18:17:13 +02:00
2023-08-28 16:35:01 -07:00
2023-07-29 12:21:21 +01:00
2023-08-29 11:33:01 -07:00
2023-06-29 15:28:33 -07:00
2023-07-11 15:44:43 +03:00
2023-07-27 11:27:20 -03:00
2023-08-28 11:33:03 +02:00
2023-08-03 18:08:32 -07:00
2023-08-24 10:51:39 -07:00
2023-06-30 17:35:45 -05:00
2023-07-25 11:55:50 -04:00
2023-08-24 19:10:53 -07:00
2023-07-25 22:09:20 +02:00
2023-08-29 09:47:33 -07:00
2023-08-28 12:59:45 -07:00
2023-08-25 13:40:21 +02:00
2023-07-27 16:54:23 +02:00
2023-09-04 06:52:39 +01:00
2023-08-30 18:32:24 -07:00
2023-07-08 13:55:44 -04:00
2023-08-11 12:14:08 -07:00
2023-08-21 16:12:28 -05:00
2023-08-18 10:55:49 +05:30
2023-08-10 22:22:03 +02:00
2023-08-03 14:40:37 +02:00
2023-08-11 09:39:17 -07:00
2023-08-28 17:34:54 -07:00
2023-07-24 16:23:37 +05:30
2023-08-29 09:47:33 -07:00
2023-08-29 11:33:01 -07:00
2023-08-17 19:38:35 +02:00
2023-08-03 02:23:42 +02:00
2023-08-28 18:04:39 -07:00
2023-08-09 15:59:21 -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-18 17:37:08 +01:00
2023-08-29 09:47:33 -07:00
2023-08-25 12:56:49 +03:00
2023-07-08 12:35:18 -07:00
2023-06-29 15:22:19 -07:00
2023-08-28 18:26:45 -07:00
2023-08-04 16:17:47 +03:00
2023-08-11 21:19:22 +02:00
2023-08-21 17:32:55 -04:00
2023-08-28 09:31:32 -07:00
2023-08-18 12:44:56 -07:00
2023-08-07 10:53:52 -07:00
2023-08-10 15:24:28 -04:00
2023-08-15 23:39:33 +02:00
2023-08-10 15:51:46 -04:00
2023-07-23 11:34:22 +01:00
2023-08-22 12:12:50 +02:00
2023-08-21 13:27:44 +02:00
2023-07-24 12:12:25 +02:00