Antonio Pastor
da7ab64f1f
kernel: generic: patch: 802.2+LLC - set transport_header offset
...
Conversion to DSA broke 802.2+LLC+SNAP packet processing. Frames
received by napi_complete_done with GRO and DSA have transport_header
set two bytes short, or pointing 2 bytes before network_header &
skb->data. As snap_rcv expects transport_header to point to SNAP
header (OID:PID) after LLC processing advances offset over LLC header
(llc_rcv & llc_fixup_skb), code doesn't find a match and packet is
dropped.
Image built at this commit operates properly:
86dadeba48 - generic: add patch for GPON-ONU-34-20BI quirk
Image built at following commit exhibits the issue:
337e36e0ef - ipq806x: convert each device to DSA implementation
As issue is LLC specific, to avoid impacting non-LLC traffic, and to
follow up on original assumption made on kernel commit fda55eca5a33
("net: introduce skb_transport_header_was_set()") stating "network
stacks usually reset the transport header anyway", llc_fixup_skb to
reset and advance the offset. llc_fixup_skb already assumes the LLC
header is at skb->data, and by definition SNAP header immediately
follows.
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17220
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-12-28 10:55:59 +01:00
..
2024-06-13 14:16:34 +02:00
2024-06-13 14:16:34 +02:00
2024-12-08 19:02:48 +01:00
2024-04-07 14:28:53 +02:00
2024-05-08 01:54:32 +01:00
2024-05-08 01:54:32 +01:00
2024-08-06 00:40:42 +02:00
2024-08-06 14:06:09 +02:00
2024-08-06 14:06:09 +02:00
2024-08-06 14:06:09 +02:00
2024-03-28 08:52:23 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-06-16 13:28:01 +01:00
2024-10-11 17:18:40 +02:00
2024-10-11 17:18:40 +02:00
2024-10-11 17:18:40 +02:00
2024-10-11 17:18:40 +02:00
2024-12-06 14:38:53 +01:00
2024-12-06 14:38:53 +01:00
2024-11-10 10:35:05 +01:00
2024-11-10 10:35:05 +01:00
2024-11-10 10:35:05 +01:00
2024-11-10 10:35:05 +01:00
2024-08-02 13:14:53 +01:00
2024-12-19 00:38:34 +01:00
2024-11-10 10:35:05 +01:00
2024-08-31 20:08:13 +02:00
2024-11-10 10:35:05 +01:00
2024-11-10 10:35:05 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-04-14 17:50:27 +02:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-04-14 17:50:27 +02:00
2024-04-14 17:50:27 +02:00
2024-04-07 16:57:22 +02:00
2024-03-11 20:17:26 +01:00
2024-06-23 17:42:17 +02:00
2024-12-20 19:30:15 +01:00
2024-05-09 16:48:34 +02:00
2024-05-30 10:49:46 +01:00
2024-05-30 10:49:46 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-04-28 21:51:03 +02:00
2024-08-31 20:08:13 +02:00
2024-04-28 21:51:03 +02:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-08-31 20:08:13 +02:00
2024-08-31 20:08:13 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-08-31 20:08:13 +02:00
2024-03-11 20:17:26 +01:00
2024-04-28 21:51:03 +02:00
2024-05-30 10:49:59 +01:00
2024-05-30 10:49:59 +01:00
2024-05-30 10:49:59 +01:00
2024-05-30 10:49:59 +01:00
2024-06-16 13:28:01 +01:00
2024-06-28 20:55:11 +01:00
2024-06-28 20:55:11 +01:00
2024-07-06 04:22:37 +01:00
2024-07-06 04:22:37 +01:00
2024-07-06 04:22:37 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-04-24 21:05:46 +01:00
2024-04-24 21:05:46 +01:00
2024-05-16 20:27:36 +02:00
2024-11-10 10:35:05 +01:00
2024-04-28 21:51:03 +02:00
2024-11-16 00:25:14 +01:00
2024-03-11 20:17:26 +01:00
2024-10-11 19:21:41 +02:00
2024-08-19 20:40:59 +02:00
2024-10-11 19:21:41 +02:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-08-19 20:40:59 +02:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-10-11 19:21:41 +02:00
2024-10-11 19:21:41 +02:00
2024-10-11 19:21:41 +02:00
2024-10-11 19:21:41 +02:00
2024-12-19 00:38:34 +01:00
2024-12-19 00:38:34 +01:00
2024-10-11 19:21:41 +02:00
2024-10-11 19:21:41 +02:00
2024-12-19 00:38:34 +01:00
2024-10-11 19:21:41 +02:00
2024-12-19 00:38:34 +01:00
2024-10-29 12:00:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-02 13:14:53 +01:00
2024-08-19 18:46:18 +01:00
2024-08-19 18:46:18 +01:00
2024-08-24 15:14:40 +02:00
2024-10-17 13:33:18 +01:00
2024-10-17 13:33:18 +01:00
2024-10-17 13:33:18 +01:00
2024-10-17 13:33:18 +01:00
2024-10-17 13:33:18 +01:00
2024-04-10 18:50:32 +01:00
2024-04-28 21:51:03 +02:00
2024-04-10 18:50:32 +01:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-10 18:50:32 +01:00
2024-04-28 21:51:03 +02:00
2024-04-10 18:50:32 +01:00
2024-04-28 21:51:03 +02:00
2024-04-10 18:50:32 +01:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-28 21:51:03 +02:00
2024-04-24 21:05:46 +01:00
2024-04-24 21:05:46 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-04-27 16:14:10 +01:00
2024-05-07 12:21:12 +01:00
2024-05-07 12:21:12 +01:00
2024-06-20 01:11:09 +01:00
2024-06-20 01:11:09 +01:00
2024-06-25 14:20:17 +02:00
2024-06-25 14:20:17 +02:00
2024-03-11 20:17:26 +01:00
2024-05-08 01:54:32 +01:00
2024-05-08 01:54:32 +01:00
2024-03-17 22:55:32 +01:00
2024-03-17 22:55:32 +01:00
2024-06-25 12:52:43 +02:00
2024-03-11 20:17:26 +01:00
2024-03-11 20:17:26 +01:00
2024-05-30 00:04:12 +02:00
2024-07-19 16:53:24 +02:00
2024-09-28 18:47:42 +02:00
2024-03-11 20:17:26 +01:00
2024-09-19 22:57:53 +02:00
2024-03-11 20:17:26 +01:00
2024-07-19 16:53:24 +02:00
2024-07-19 16:53:24 +02:00
2024-09-19 22:57:53 +02:00
2024-07-19 16:53:24 +02:00
2024-07-19 16:53:24 +02:00
2024-07-19 16:53:24 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:55 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-10 13:42:59 +02:00
2024-09-19 22:57:53 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-10 13:43:03 +02:00
2024-09-12 08:59:36 +02:00
2024-09-12 08:59:36 +02:00
2024-09-12 08:59:36 +02:00
2024-05-08 01:54:32 +01:00
2024-08-13 00:34:16 +02:00
2024-10-19 16:21:32 +02:00
2024-07-09 12:33:17 +02:00
2024-10-15 21:20:19 +01:00
2024-10-15 21:20:19 +01:00
2024-10-15 21:20:19 +01:00
2024-10-15 21:20:19 +01:00
2024-10-19 16:21:32 +02:00
2024-10-15 17:46:14 +01:00
2024-10-15 17:47:31 +01:00
2024-10-15 17:47:31 +01:00
2024-10-15 17:47:31 +01:00
2024-10-15 17:54:30 +01:00
2024-04-14 17:50:27 +02:00
2024-10-05 12:43:51 +02:00
2024-03-15 18:30:31 +00:00
2024-09-26 10:55:11 +02:00
2024-11-28 21:59:58 +01:00
2024-11-28 21:59:58 +01:00
2024-11-28 21:59:58 +01:00
2024-11-28 21:59:58 +01:00
2024-09-06 22:36:43 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-08-06 00:40:42 +02:00
2024-08-06 00:40:42 +02:00
2024-06-24 09:46:19 +02:00
2024-06-24 09:46:19 +02:00
2024-09-22 19:03:22 +02:00
2024-09-22 19:03:22 +02:00
2024-11-10 10:35:05 +01:00
2024-11-04 23:40:12 +01:00
2024-12-28 10:55:59 +01:00
2024-07-15 01:26:47 +02:00